Create type definition for 'langmap' (#4059)
* Create type definition for 'langmap' * Follow lint
This commit is contained in:
committed by
Aya Morisawa
parent
5049870b6e
commit
fe13c17fcb
10
src/@types/langmap.d.ts
vendored
Normal file
10
src/@types/langmap.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
declare module 'langmap' {
|
||||
type Lang = {
|
||||
nativeName: string;
|
||||
englishName: string;
|
||||
};
|
||||
|
||||
const langmap: { [lang: string]: Lang };
|
||||
|
||||
export = langmap;
|
||||
}
|
Reference in New Issue
Block a user