mirror of
https://github.com/axios/axios.git
synced 2026-04-12 02:31:57 +08:00
* Distinguish request and response data types * Fix Axios headers type `axios.headers` is not of the same type as `request.headers`, so a new type `AxiosDefaults` was introduced * Replace grunt-ts with dtslint This asserts that the type definitions are valid in the specified TypeScript version and above. This is the same tool that is used by DefinitelyTyped. * Remove grunt-ts * Restore typescript dependency * Fix missing semicolons Co-authored-by: Claas Augner <github@caugner.de> Co-authored-by: Jay <jasonsaayman@gmail.com>
15 lines
236 B
JSON
15 lines
236 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "es2015",
|
|
"lib": ["dom", "es2015"],
|
|
"types": [],
|
|
"moduleResolution": "node",
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"axios": ["."]
|
|
}
|
|
}
|
|
}
|