Skip to content

Commit

Permalink
chore: update types
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Feb 13, 2024
1 parent 45b03c0 commit c995b5a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 33 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 7 additions & 1 deletion common/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"baseUrl": "./",
"paths": {
"@/*": ["./*"],
"three": ["./types.d.ts"],
"rxjs": ["./types.d.ts"],
},
"checkJs": true,
"target": "ESNext",
Expand All @@ -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"
]
}
8 changes: 7 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
8 changes: 6 additions & 2 deletions web/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
29 changes: 0 additions & 29 deletions web/tsconfig.json

This file was deleted.

0 comments on commit c995b5a

Please sign in to comment.