diff --git a/package.json b/package.json index 5ba899e4..6b8cfbad 100644 --- a/package.json +++ b/package.json @@ -323,7 +323,7 @@ "nyc": "^17.1.0", "prettier": "^3.5.3", "ts-loader": "^9.5.1", - "typescript": "^5.4.5", + "typescript": "^5.8.3", "utf-8-validate": "^6.0.5", "vitest": "^0.34.6", "vscode-test": "^1.5.0", diff --git a/tsconfig.json b/tsconfig.json index 18150165..0974a4d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,14 @@ "strict": true, "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "paths": { + // axios contains both an index.d.ts and index.d.cts which apparently have + // conflicting types. For some reason TypeScript is reading both and + // throwing errors about AxiosInstance not being compatible with + // AxiosInstance. This ensures we use only index.d.ts. + "axios": ["./node_modules/axios/index.d.ts"] + } }, "exclude": ["node_modules"], "include": ["src/**/*"] diff --git a/yarn.lock b/yarn.lock index 24b2fcc0..5b0be921 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7687,10 +7687,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.8.3: + version "5.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e" + integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ== ua-parser-js@1.0.40: version "1.0.40"
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: