Skip to content

Commit d4cfa3c

Browse files
authored
feat: migrate locales to typescript (#238)
1 parent 66aa374 commit d4cfa3c

3,568 files changed

Lines changed: 163433 additions & 160750 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ export interface LocaleDefinition {
182182
preposition: any[];
183183
verb: any[];
184184
}>;
185+
[group: string]: any;
185186
}
186187

187188
export interface FakerOptions {

src/locales/af_ZA/address/default_country.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['South Africa'];

src/locales/af_ZA/address/index.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/locales/af_ZA/address/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import default_country from './default_country';
2+
import postcode from './postcode';
3+
4+
const address: any = {
5+
default_country,
6+
postcode,
7+
};
8+
9+
export default address;

src/locales/af_ZA/address/postcode.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['#####', '####'];

src/locales/af_ZA/cell_phone/formats.js

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default [
2+
'082 ### ####',
3+
'084 ### ####',
4+
'083 ### ####',
5+
'065 ### ####',
6+
'082#######',
7+
'082 #######',
8+
];

src/locales/af_ZA/cell_phone/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)