]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: use `const` instead of `let` (#283)
authorfisker Cheung <lionkay@gmail.com>
Tue, 15 Oct 2019 03:15:36 +0000 (11:15 +0800)
committerEvan You <yyx990803@gmail.com>
Tue, 15 Oct 2019 03:15:36 +0000 (23:15 -0400)
packages/runtime-core/src/warning.ts

index 09cf34e585aeef46c38bf76c94a4fafb6ccbe8ad..7ea32b7cd46f4e61273afccf2fb389fa143d84ff 100644 (file)
@@ -7,7 +7,7 @@ type ComponentVNode = VNode & {
   type: Component
 }
 
-let stack: VNode[] = []
+const stack: VNode[] = []
 
 type TraceEntry = {
   vnode: ComponentVNode