chore(jsconfig): fix java.loadClass always return never

This commit is contained in:
2026-01-18 12:48:46 +08:00
parent 670b7e14a8
commit 498022de1d
3 changed files with 37 additions and 21 deletions

View File

@@ -1,11 +1,19 @@
{ {
"$schema": "https://www.schemastore.org/jsconfig.json", "$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json", "extends": "../../jsconfig.json",
"compilerOptions": {}, "compilerOptions": {
"include": [ "types": [
"./**/*", "../../types/probe/client/packages",
"../../types/*.d.ts", "../../types/probe/client/global",
"../../types/probe/shared/*.d.ts", "../../types/probe/shared"
"../../types/probe/client/**/*.d.ts" ],
"paths": {
"packages/*": [
"../../types/probe/client/packages/*",
"../../types/probe/shared/*"
] ]
} }
},
"include": ["./**/*.js", "../../types/*.d.ts"],
"exclude": []
}

View File

@@ -1,10 +1,19 @@
{ {
"$schema": "https://www.schemastore.org/jsconfig.json", "$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json", "extends": "../../jsconfig.json",
"include": [ "compilerOptions": {
"./**/*", "types": [
"../../types/*.d.ts", "../../types/probe/server/packages",
"../../types/probe/shared/*.d.ts", "../../types/probe/server/global",
"../../types/probe/server/**/*.d.ts" "../../types/probe/shared"
],
"paths": {
"packages/*": [
"../../types/probe/server/packages/*",
"../../types/probe/shared/*"
] ]
} }
},
"include": ["./**/*.js", "../../types/*.d.ts"],
"exclude": []
}

View File

@@ -2,7 +2,11 @@
"$schema": "https://www.schemastore.org/jsconfig.json", "$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json", "extends": "../../jsconfig.json",
"compilerOptions": { "compilerOptions": {
"typeRoots": ["../../types/probe/startup/"], "types": [
"../../types/probe/startup/packages",
"../../types/probe/startup/global",
"../../types/probe/shared"
],
"paths": { "paths": {
"packages/*": [ "packages/*": [
"../../types/probe/startup/packages/*", "../../types/probe/startup/packages/*",
@@ -10,11 +14,6 @@
] ]
} }
}, },
"include": ["./**/*", "../../types/*.d.ts", "../../types/probe/**/*.d.ts"], "include": ["./**/*.js", "../../types/*.d.ts"],
"exclude": [ "exclude": []
"../../types/probe/client/global/*.d.ts",
"../../types/probe/server/global/*.d.ts",
"../../types/probe/client/**/*.d.ts",
"../../types/probe/server/**/*.d.ts"
]
} }