From 1e8cee8b1b1fbd2aecfe5b55243e4e8562506597 Mon Sep 17 00:00:00 2001 From: Ammaar Aslam <96367405+ammaaraslam@users.noreply.github.com> Date: Sat, 12 Nov 2022 23:44:06 +0530 Subject: [PATCH] Added lib option to ts.config (#786) * Added lib option to ts.config * change the use of VoidFunction to void * changed the target es version to es6 * add es2015 to lib option * added DOM to lib option in tsconfig.json * revert chagne of VoidFunction * Revert "change the use of VoidFunction to void" This reverts commit d0a5c89111a7b849a77dbfb6d592b63dcb2fa13a. Co-authored-by: Tapas Adhikary --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 81384cb7e..84a68bca4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "outDir": "./dist/", "noImplicitAny": true, "module": "es6", - "target": "es5", + "lib": ["es2022", "ES6", "DOM"], + "target": "es6", "allowJs": true, "moduleResolution": "node", "suppressImplicitAnyIndexErrors": false,