Skip to content

Commit

Permalink
Merge pull request #80 from ryoppippi/feature/minor-fix
Browse files Browse the repository at this point in the history
get target from tsconfig.json
  • Loading branch information
ryoppippi authored Jun 10, 2024
2 parents 3bed170 + d1e2d5a commit a2c11b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unplugin-typia/src/core/typia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function getProgramAndSource(
const tsSource = ts.createSourceFile(
id,
source,
ts.ScriptTarget.ES2020,
compilerOptions.target ?? ts.ScriptTarget.ES2020,
);
const host = ts.createCompilerHost(compilerOptions);

Expand Down

0 comments on commit a2c11b6

Please sign in to comment.