mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
chore: update types
This commit is contained in:
parent
45b03c068a
commit
c995b5a8db
5 changed files with 23 additions and 33 deletions
|
|
@ -15,6 +15,9 @@
|
|||
"node": true,
|
||||
"serviceworker": true
|
||||
},
|
||||
"rules": {
|
||||
"n/no-callback-literal": 0
|
||||
},
|
||||
"extends": ["plugin:svelte/recommended", "standard"],
|
||||
"plugins": ["svelte"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"three": ["./types.d.ts"],
|
||||
"rxjs": ["./types.d.ts"],
|
||||
},
|
||||
"checkJs": true,
|
||||
"target": "ESNext",
|
||||
|
|
@ -17,5 +19,9 @@
|
|||
"types": ["./types.d.ts"],
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "build", "git_modules", ".svelte-kit", "**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*"]
|
||||
"exclude": [
|
||||
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
|
||||
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
|
||||
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
|
@ -13,8 +13,14 @@
|
|||
"skipLibCheck": true,
|
||||
"paths": {
|
||||
"@/*": ["./common/*"],
|
||||
"three": ["./types.d.ts"],
|
||||
"rxjs": ["./types.d.ts"],
|
||||
},
|
||||
"types": ["@cloudflare/workers-types", "./types.d.ts"],
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "build", "git_modules", ".svelte-kit", "**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*"]
|
||||
"exclude": [
|
||||
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
|
||||
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
|
||||
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
|
@ -18,10 +18,14 @@
|
|||
"target": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"module": "ESNext",
|
||||
"types": ["./types.d.ts"],
|
||||
"types": [],
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",]
|
||||
"exclude": [
|
||||
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
|
||||
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
|
||||
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
|
||||
]
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": ["../common/*"],
|
||||
"$lib":["./src/lib"],
|
||||
"$lib/*":["./src/lib/*"]
|
||||
},
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"target": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"module": "ESNext",
|
||||
"types": ["./types.d.ts"],
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",]
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
// from the referenced tsconfig.json - TypeScript does not merge them in
|
||||
}
|
||||
Loading…
Reference in a new issue