diff --git a/common/tsconfig.json b/common/tsconfig.json index 9bf2a49..9d61976 100644 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -3,12 +3,16 @@ "lib": ["es2023"], "module": "ES2020", "target": "es2022", + "moduleResolution": "Bundler", "strict": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, - "emitDeclarationOnly": true, - "declaration": true - } + "declaration": true, + "noEmit": true, + "allowJs": true, + "checkJs": true + }, + "include": ["*.js"] } diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 8a909a1..e736285 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -1,8 +1,8 @@ -import './app.css' -import App from './App.svelte' +import "./app.css"; +import App from "./App.svelte"; const app = new App({ - target: document.getElementById('app'), -}) + target: document.getElementById("app")!, +}); -export default app +export default app; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 72c029b..2b6a74b 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -13,7 +13,8 @@ */ "allowJs": true, "checkJs": true, - "isolatedModules": true + "isolatedModules": true, + "noEmit": true }, "include": [ "src/**/*.ts",