Skip to content

Commit

Permalink
Update tsconfig.json to autocomplete imports (wasp-lang#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic authored Apr 2, 2024
1 parent c1b8e95 commit 8663b34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
{
"compilerOptions": {
"target": "esnext",
// We're bundling all code in the end so this is the most appropriate option,
// it's also important for autocomplete to work properly.
"moduleResolution": "bundler",
// JSX support
"jsx": "preserve",
"strict": true,
Expand Down Expand Up @@ -33,4 +37,4 @@
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
"outDir": ".wasp/phantom"
}
}
}

0 comments on commit 8663b34

Please sign in to comment.