serviceworker: fix type errors
All checks were successful
/ depoly (pull_request) Successful in 1m18s

This commit is contained in:
thislight 2024-12-04 23:42:16 +08:00
parent f0456337d5
commit f20b5da8e4
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
5 changed files with 80 additions and 54 deletions

View file

@ -1,20 +1,11 @@
{
"compilerOptions": {
"strict": true,
"target": "ESNext",
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"types": ["vite/client", "vite-plugin-pwa/solid"],
"noEmit": true,
"isolatedModules": true,
"resolveJsonModule": true,
"paths": {
"~platform/*": ["./src/platform/*"],
"~material/*": ["./src/material/*"]
}
}
"lib": ["ESNext", "DOM", "DOM.Iterable"]
},
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./*.ts", "./types/**.ts"],
"exclude": ["./src/serviceworker/**"],
"extends": ["./tsconfig.super.json"]
}