From 33c1ff5e2611ec7fe880333cea86035b7128b4f9 Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Tue, 26 Apr 2022 15:53:47 +0200 Subject: [PATCH] - Added documentation for axios project --- docs/axios-support.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/axios-support.md b/docs/axios-support.md index f4dab243..a53ac372 100644 --- a/docs/axios-support.md +++ b/docs/axios-support.md @@ -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 + } +} +```