We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
let start
const start
1 parent 2ab70c2 commit 99551e3Copy full SHA for 99551e3
packages/compiler-sfc/src/rewriteDefault.ts
@@ -39,7 +39,7 @@ export function rewriteDefaultAST(
39
ast.forEach(node => {
40
if (node.type === 'ExportDefaultDeclaration') {
41
if (node.declaration.type === 'ClassDeclaration' && node.declaration.id) {
42
- let start: number =
+ const start: number =
43
node.declaration.decorators && node.declaration.decorators.length > 0
44
? node.declaration.decorators[
45
node.declaration.decorators.length - 1
0 commit comments