feat: support i18n translate

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-02-27 01:58:23 +08:00
parent 2322de1e40
commit 2693a22bf0
5 changed files with 36 additions and 26 deletions

View File

@@ -27,6 +27,7 @@ declare global {
stack(err: Error): string[];
sender(...args: any): void;
console(...args: any): void;
i18n(name: string, ...params: any[]);
}
}
export { }