2
0
Эх сурвалжийг харах

chore: use `const` instead of `let` (#283)

fisker Cheung 6 жил өмнө
parent
commit
1fbb4d22fa

+ 1 - 1
packages/runtime-core/src/warning.ts

@@ -7,7 +7,7 @@ type ComponentVNode = VNode & {
   type: Component
 }
 
-let stack: VNode[] = []
+const stack: VNode[] = []
 
 type TraceEntry = {
   vnode: ComponentVNode