Fix Bug 2121: NG-UI uses unmaintained Chokidar version
- Upgraded Angular from 11 to 14 version to remove chokidar
unmaintained version.
- Changed linting tool tslint to eslint for angular 14 as tslint
is depreacted after angular 12
- Resolved linting issues from code
Change-Id: I00e908ab651db0f080e0d18a9d1c9711f4e36b91
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/polyfills.ts b/src/polyfills.ts
index 9d349d1..0d0c045 100644
--- a/src/polyfills.ts
+++ b/src/polyfills.ts
@@ -38,17 +38,7 @@
/***************************************************************************************************
* BROWSER POLYFILLS
- */
-
-/** IE10 and IE11 requires the following for NgClass support on SVG elements */
-// import 'classlist.js'; // Run `npm install --save classlist.js`.
-
-/**
- * Web Animations `@angular/platform-browser/animations`
- * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
- * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
- */
-import 'web-animations-js'; // Run `npm install --save web-animations-js`.
+ */ // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
@@ -79,6 +69,11 @@
*/
import 'zone.js'; // Included with Angular CLI.
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+(window as any).process = {
+ env: { DEBUG: undefined }
+ };
+
/***************************************************************************************************
* APPLICATION IMPORTS
*/