arreglar typescript

This commit is contained in:
Cat /dev/Nulo 2023-12-09 17:02:47 -03:00
parent 81de080d22
commit de45e30de9
3 changed files with 14 additions and 9 deletions

View file

@ -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"]
}

View file

@ -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;

View file

@ -13,7 +13,8 @@
*/
"allowJs": true,
"checkJs": true,
"isolatedModules": true
"isolatedModules": true,
"noEmit": true
},
"include": [
"src/**/*.ts",