chore: redeclare typings

This commit is contained in:
草鞋没号
2021-06-23 10:58:52 +08:00
parent c082cb08e6
commit 0f390defd5
6 changed files with 36 additions and 20 deletions

11
typings/global.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: 'development' | 'production'
}
}
interface Window {
/** 关闭预加载动画 */
removeLoading: () => void
}