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 e567002 commit 1f5b1e0Copy full SHA for 1f5b1e0
src/index.ts
@@ -491,7 +491,8 @@ export function create (rawOptions: CreateOptions = {}): Register {
491
const result = ts.transpileModule(code, {
492
fileName,
493
compilerOptions: overrideCompilerOptions ? { ...config.options, ...overrideCompilerOptions } : config.options,
494
- reportDiagnostics: true
+ reportDiagnostics: true,
495
+ transformers: transformers as Exclude<typeof transformers, Function>
496
})
497
498
const diagnosticList = filterDiagnostics(result.diagnostics || [], ignoreDiagnostics)
0 commit comments