Skip to content

Commit

Permalink
feat: add config to generate file extensions for module resolution no…
Browse files Browse the repository at this point in the history
…de16+
  • Loading branch information
omridevk committed May 30, 2024
1 parent 4f34b8b commit d81fc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/openapi-ts/test/e2e/scripts/compileWithTypescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const compileWithTypescript = (dir: string, {overrides}: { overrides?: an
noImplicitAny: true,
noImplicitReturns: true,
noImplicitThis: true,
skipLibCheck: false,
skipLibCheck: true,
sourceMap: false,
strict: true,
target: 'es2020',
Expand All @@ -37,7 +37,7 @@ export const compileWithTypescript = (dir: string, {overrides}: { overrides?: an

// Compile files to JavaScript (ES6 modules)
const configFile = parseConfigFileTextToJson(
'tsconfig.jso2n',
'tsconfig.json',
JSON.stringify(tsconfig)
)
const configFileResult = parseJsonConfigFileContent(
Expand Down

0 comments on commit d81fc39

Please sign in to comment.