Create type definition for ./locales (#4117)
This commit is contained in:
parent
c4f7491322
commit
5891135ac1
2 changed files with 6 additions and 1 deletions
5
locales/index.d.ts
vendored
Normal file
5
locales/index.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type Locale = { [key: string]: string };
|
||||
|
||||
declare const locales: { [lang: string]: Locale };
|
||||
|
||||
export default locales;
|
Loading…
Add table
Add a link
Reference in a new issue