diff --git a/tsconfig.json b/tsconfig.json index a92115d39dc..cbc2b2cc337 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,7 @@ { - // TODO: SvelteKit recommends extending their config, but it currently triggers type import errors throughout application that we need to fix - // "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { - "moduleResolution": "node", + "moduleResolution": "bundler", "module": "esnext", "lib": [ "esnext", @@ -10,11 +9,7 @@ "DOM.Iterable" ], "target": "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", + /** ignoreDeprecations is recommended by the SvelteKit maintainers until SvelteKit 2.0. See: https://github.com/sveltejs/kit/issues/8650#issuecomment-1607282327 diff --git a/web-admin/src/components/table/Table.svelte b/web-admin/src/components/table/Table.svelte index c03cae95936..0a991b7aa7b 100644 --- a/web-admin/src/components/table/Table.svelte +++ b/web-admin/src/components/table/Table.svelte @@ -1,13 +1,13 @@