From 8886308c56223f04df535a065234414a6deb11ba Mon Sep 17 00:00:00 2001 From: Maksymilian Date: Fri, 23 Sep 2022 09:44:56 +0200 Subject: Initial commit, v1.0.0 --- jsconfig.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 jsconfig.json (limited to 'jsconfig.json') diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..69e2811 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,33 @@ +{ + "compilerOptions": { + "moduleResolution": "node", + "target": "esnext", + "module": "esnext", + /** + * 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. + */ + "importsNotUsedAsValues": "error", + "isolatedModules": true, + /** + * To have warnings / errors of the Svelte compiler at the + * correct position, enable source maps by default. + */ + "sourceMap": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "baseUrl": ".", + /** + * Typecheck JS in `.svelte` and `.js` files by default. + * Disable this if you'd like to use dynamic types. + */ + "checkJs": true + }, + /** + * Use globals.d.ts instead of compilerOptions.types + * to avoid limiting type declarations. + */ + "include": ["globals.d.ts", "src/**/*.js", "src/**/*.svelte"] +} -- cgit v1.3.1