Skip to content

Commit ede606a

Browse files
committed
fix: use const in the vue shim file, avoiding eslint errors
1 parent 3490d0f commit ede606a

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-plugin-typescript/generator/template-vue3/src

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module '*.vue' {
22
import { Component } from 'vue'
3-
var component: Component
3+
const component: Component
44
export default component
55
}

0 commit comments

Comments
 (0)