Skip to content

Commit

Permalink
fix(helper): set default moduleResolution field
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed Jan 1, 2022
1 parent 92bd611 commit 185953e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ expectType<string>("");

then,

`deno run https://deno.land/x/tytest@$VERSION/cli.ts`
`deno run --unstable --allow-read --allow-write --allow-net https://deno.land/x/tytest@$VERSION/cli.ts`

## License

Expand Down
1 change: 1 addition & 0 deletions helper/_option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function makeCompilerOption(): CompilerOptions {
return {
esModuleInterop: true,
module: ts.ModuleKind.ESNext,
moduleResolution: ts.ModuleResolutionKind.NodeNext,
target: ts.ScriptTarget.ESNext,
lib: ["dom", "esnext"],
skipLibCheck: false,
Expand Down

0 comments on commit 185953e

Please sign in to comment.