Skip to content

Commit c995b5a

Browse files
committed
chore: update types
1 parent 45b03c0 commit c995b5a

File tree

5 files changed

+23
-33
lines changed

5 files changed

+23
-33
lines changed

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"node": true,
1616
"serviceworker": true
1717
},
18+
"rules": {
19+
"n/no-callback-literal": 0
20+
},
1821
"extends": ["plugin:svelte/recommended", "standard"],
1922
"plugins": ["svelte"],
2023
"parser": "@typescript-eslint/parser",

common/jsconfig.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"baseUrl": "./",
44
"paths": {
55
"@/*": ["./*"],
6+
"three": ["./types.d.ts"],
7+
"rxjs": ["./types.d.ts"],
68
},
79
"checkJs": true,
810
"target": "ESNext",
@@ -17,5 +19,9 @@
1719
"types": ["./types.d.ts"],
1820
"allowSyntheticDefaultImports": true
1921
},
20-
"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/*"]
22+
"exclude": [
23+
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
24+
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
25+
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
26+
]
2127
}

jsconfig.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@
1313
"skipLibCheck": true,
1414
"paths": {
1515
"@/*": ["./common/*"],
16+
"three": ["./types.d.ts"],
17+
"rxjs": ["./types.d.ts"],
1618
},
1719
"types": ["@cloudflare/workers-types", "./types.d.ts"],
1820
},
19-
"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/*"]
21+
"exclude": [
22+
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
23+
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
24+
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
25+
]
2026
}

web/jsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@
1818
"target": "ESNext",
1919
"moduleResolution": "node",
2020
"module": "ESNext",
21-
"types": ["./types.d.ts"],
21+
"types": [],
2222
"allowSyntheticDefaultImports": true
2323
},
24-
"exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",]
24+
"exclude": [
25+
"node_modules", "dist", "build", "git_modules", ".svelte-kit", "public", "android", "@types/three",
26+
"**/node_modules", "**/dist", "**/build", "**/git_modules", "**/.svelte-kit", "**/public", "**/android", "**/@types/three",
27+
"**/node_modules/*", "**/dist/*", "**/build/*", "**/git_modules/*", "**/.svelte-kit/*", "**/public/*", "**/android/*", "**@types/three/*.d.ts"
28+
]
2529
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
2630
//
2731
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes

web/tsconfig.json

-29
This file was deleted.

0 commit comments

Comments
 (0)