Skip to content

Commit

Permalink
fix(test): ensure legacy decorators are used when using transpile (#4771
Browse files Browse the repository at this point in the history
)
  • Loading branch information
louis-bompart committed Sep 13, 2023
1 parent d297371 commit 2ef9ec7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/compiler/config/transpile-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export const getTranspileConfig = (input: TranspileOptions): TranspileConfig =>
};

const tsCompilerOptions: CompilerOptions = {
// ensure we uses legacy decorators
experimentalDecorators: true,

// best we always set this to true
allowSyntheticDefaultImports: true,

Expand Down

0 comments on commit 2ef9ec7

Please sign in to comment.