Skip to content

Commit 634bf59

Browse files
authored
feat(typescript): add useDefineForClassFields option in tsconfig template (#6235)
1 parent e7774ca commit 634bf59

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<%_ } _%>
1818
"esModuleInterop": true,
1919
"allowSyntheticDefaultImports": true,
20+
"useDefineForClassFields": true,
2021
"sourceMap": true,
2122
"baseUrl": ".",
2223
"types": [

0 commit comments

Comments
 (0)