Skip to content

Commit 33c1ff5

Browse files
committed
- Added documentation for axios project
1 parent b9ad91b commit 33c1ff5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/axios-support.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,13 @@ npm install axios --save-dev
1414
npm install [email protected] --save-dev
1515
```
1616

17-
In order to compile the project and resolve the imports, you will need to enable the `allowSyntheticDefaultImports`
18-
in your `tsconfig.json` file.
17+
In order to compile the project and resolve the imports, you will need to add the following properties
18+
in your `tsconfig.json` file:
19+
```json
20+
{
21+
"compilerOptions": {
22+
"lib": ["...", "dom"],
23+
"allowSyntheticDefaultImports": true
24+
}
25+
}
26+
```

0 commit comments

Comments
 (0)