TastyBites/front/tsconfig.json
Michał 46b624954c Switch to tsconfig
Fix changes due to change in target module
2024-05-15 16:36:29 +01:00

35 lines
990 B
JSON

{
"compilerOptions": {
"moduleResolution": "bundler",
"module": "ES2015",
"target": "ES2017",
"lib": ["ES2017", "DOM"],
/**
* svelte-preprocess cannot figure out whether you have
* a value or a type, so tell TypeScript to enforce using
* `import type` instead of `import` for Types.
*/
"verbatimModuleSyntax": false,
"isolatedModules": true,
"resolveJsonModule": true,
/**
* To have warnings / errors of the Svelte compiler at the
* correct position, enable source maps by default.
*/
"sourceMap": true,
"esModuleInterop": true,
"skipLibCheck": true,
/**
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable this if you'd like to use dynamic types.
*/
"allowJs": true,
"checkJs": true
},
/**
* Use global.d.ts instead of compilerOptions.types
* to avoid limiting type declarations.
*/
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}