Skip to content

Commit

Permalink
update options for tsc ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Sep 27, 2024
1 parent bc1fb5a commit b94260c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/id.bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function oxc(filename, sourceText) {
}

function tsc(fileName, sourceText) {
return transpileDeclaration(sourceText, { fileName }).outputText;
return transpileDeclaration(sourceText, { fileName, compilerOptions: { noResolve:true, noLib: true } }).outputText;
}

const sources = fs.readdirSync("./fixtures")
Expand Down

0 comments on commit b94260c

Please sign in to comment.