mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-21 01:52:03 +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,
|
"node": true,
|
||||||
"serviceworker": true
|
"serviceworker": true
|
||||||
},
|
},
|
||||||
|
"rules": {
|
||||||
|
"n/no-callback-literal": 0
|
||||||
|
},
|
||||||
"extends": ["plugin:svelte/recommended", "standard"],
|
"extends": ["plugin:svelte/recommended", "standard"],
|
||||||
"plugins": ["svelte"],
|
"plugins": ["svelte"],
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"],
|
"@/*": ["./*"],
|
||||||
|
"three": ["./types.d.ts"],
|
||||||
|
"rxjs": ["./types.d.ts"],
|
||||||
},
|
},
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
|
|
@ -17,5 +19,9 @@
|
||||||
"types": ["./types.d.ts"],
|
"types": ["./types.d.ts"],
|
||||||
"allowSyntheticDefaultImports": true
|
"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,
|
"skipLibCheck": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./common/*"],
|
"@/*": ["./common/*"],
|
||||||
|
"three": ["./types.d.ts"],
|
||||||
|
"rxjs": ["./types.d.ts"],
|
||||||
},
|
},
|
||||||
"types": ["@cloudflare/workers-types", "./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",
|
"target": "ESNext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"types": ["./types.d.ts"],
|
"types": [],
|
||||||
"allowSyntheticDefaultImports": true
|
"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
|
// 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
|
// 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