Skip to content

Commit 1aefd54

Browse files
committed
refactor(global): change development mode variable declaration from var to const
1 parent 724784e commit 1aefd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ declare global
44
/**
55
* 是否为开发模式。
66
*/
7-
var __DEV__: boolean;
7+
const __DEV__: boolean;
88
}

0 commit comments

Comments
 (0)