[Improvement] update type definition (#1294)

This commit is contained in:
neverland
2018-06-16 10:27:21 +08:00
committed by GitHub
parent 90609bf30e
commit b479c1daa6
8 changed files with 23 additions and 0 deletions

7
types/locale.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export interface Locale {
install(): void;
use(lang: string, messages: Object): void;
add(messages: Object): void;
}
export const Locale: Locale;