Skip to content

Commit b6a6de2

Browse files
committed
refactor(global): change development mode variable declaration back to var
1 parent 1aefd54 commit b6a6de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/global.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ declare global
44
/**
55
* 是否为开发模式。
66
*/
7-
const __DEV__: boolean;
7+
// eslint-disable-next-line no-var
8+
var __DEV__: boolean;
89
}

0 commit comments

Comments
 (0)