mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Fix missing function setLocale
See https://github.com/Marak/faker.js/issues/624 for more information
This commit is contained in:
committed by
GitHub
parent
b8d4502de5
commit
5377b9532a
3
types/faker/index.d.ts
vendored
3
types/faker/index.d.ts
vendored
@@ -11,7 +11,8 @@ declare const fakerStatic: Faker.FakerStatic;
|
||||
declare namespace Faker {
|
||||
interface FakerStatic {
|
||||
locale: string;
|
||||
|
||||
setLocale(locale: string): void;
|
||||
|
||||
address: {
|
||||
zipCode(format?: string): string;
|
||||
city(format?: number): string;
|
||||
|
||||
Reference in New Issue
Block a user