Skip to content

Commit

Permalink
fix: bug with latest version of @swc/wasm causing "error when attempt…
Browse files Browse the repository at this point in the history
…ing to validate swc compiler options"; fixes TypeStrong#2059
  • Loading branch information
smcenlly committed Jan 25, 2024
1 parent ddb05ef commit c5f0b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpilers/swc.ts
Expand Up @@ -225,7 +225,7 @@ export function createSwcOptions(
parser: {
syntax: 'typescript',
tsx: isTsx,
decorators: experimentalDecorators,
decorators: !!experimentalDecorators,
dynamicImport: true,
importAssertions: true,
} as swcWasm.TsParserConfig,
Expand Down

0 comments on commit c5f0b17

Please sign in to comment.