From: fisker Cheung Date: Tue, 15 Oct 2019 03:15:36 +0000 (+0800) Subject: chore: use `const` instead of `let` (#283) X-Git-Tag: v3.0.0-alpha.0~433 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1fbb4d22fa168a44a76e31d3fefcf633d5c4c4bf;p=thirdparty%2Fvuejs%2Fcore.git chore: use `const` instead of `let` (#283) --- diff --git a/packages/runtime-core/src/warning.ts b/packages/runtime-core/src/warning.ts index 09cf34e585..7ea32b7cd4 100644 --- a/packages/runtime-core/src/warning.ts +++ b/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