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.
1 parent 3ce8773 commit 86d8538Copy full SHA for 86d8538
packages/compiler-sfc/src/script/context.ts
@@ -163,7 +163,7 @@ export function resolveParserPlugins(
163
userPlugins = userPlugins.filter(p => p !== 'jsx')
164
}
165
if (lang === 'ts' || lang === 'tsx') {
166
- plugins.push(['typescript', { dts }])
+ plugins.push(['typescript', { dts }], 'explicitResourceManagement')
167
if (!plugins.includes('importAssertions')) {
168
plugins.push(['importAttributes', { deprecatedAssertSyntax: true }])
169
0 commit comments