We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a24c5 commit fc4f76aCopy full SHA for fc4f76a
tsconfig.json
@@ -10,7 +10,14 @@
10
"strict": true,
11
"esModuleInterop": true,
12
"skipLibCheck": true,
13
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
14
+ "paths": {
15
+ // axios contains both an index.d.ts and index.d.cts which apparently have
16
+ // conflicting types. For some reason TypeScript is reading both and
17
+ // throwing errors about AxiosInstance not being compatible with
18
+ // AxiosInstance. This ensures we use only index.d.ts.
19
+ "axios": ["./node_modules/axios/index.d.ts"]
20
+ }
21
},
22
"exclude": ["node_modules"],
23
"include": ["src/**/*"]
0 commit comments