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 ed552b2 commit d1e8944Copy full SHA for d1e8944
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