- Added documentation for axios project

This commit is contained in:
Ferdi Koomen 2022-04-26 15:53:47 +02:00
parent b9ad91bff8
commit 33c1ff5e26

View File

@ -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
}
}
```