mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Added documentation for axios project
This commit is contained in:
parent
b9ad91bff8
commit
33c1ff5e26
@ -14,5 +14,13 @@ npm install axios --save-dev
|
||||
npm install form-data@4.x --save-dev
|
||||
```
|
||||
|
||||
In order to compile the project and resolve the imports, you will need to enable the `allowSyntheticDefaultImports`
|
||||
in your `tsconfig.json` file.
|
||||
In order to compile the project and resolve the imports, you will need to add the following properties
|
||||
in your `tsconfig.json` file:
|
||||
```json
|
||||
{
|
||||
"compilerOptions": {
|
||||
"lib": ["...", "dom"],
|
||||
"allowSyntheticDefaultImports": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user