diff options
| author | ST-DDT <[email protected]> | 2022-02-01 17:31:52 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-01 17:31:52 +0100 |
| commit | 5e6754da61b63019fd063fad26adbeeabd8b789b (patch) | |
| tree | 954f7730feba92d951f66862d9165b99645f8981 /src/locales/ru | |
| parent | 18b4349af05ca671f1fc4cff0c04d359e914f001 (diff) | |
| download | faker-5e6754da61b63019fd063fad26adbeeabd8b789b.tar.xz faker-5e6754da61b63019fd063fad26adbeeabd8b789b.zip | |
feat(types): provide strong typing for locales (#363)
Diffstat (limited to 'src/locales/ru')
| -rw-r--r-- | src/locales/ru/hacker/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locales/ru/hacker/index.ts b/src/locales/ru/hacker/index.ts index 959b7e0a..d19ca4b2 100644 --- a/src/locales/ru/hacker/index.ts +++ b/src/locales/ru/hacker/index.ts @@ -1,3 +1,4 @@ +import type { HackerDefinitions } from '../../../definitions'; import abbreviation from './abbreviation'; import adjective from './adjective'; import ingverb from './ingverb'; @@ -5,7 +6,7 @@ import noun from './noun'; import phrase from './phrase'; import verb from './verb'; -const hacker: any = { +const hacker: Partial<HackerDefinitions> = { abbreviation, adjective, ingverb, |
