mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-06-06 04:59:17 +02:00
Update tsconfig.json to autocomplete imports (#92)
This commit is contained in:
parent
c1b8e953b0
commit
8663b34796
@ -5,6 +5,10 @@
|
|||||||
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
|
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"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 support
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@ -33,4 +37,4 @@
|
|||||||
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
|
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
|
||||||
"outDir": ".wasp/phantom"
|
"outDir": ".wasp/phantom"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user