/** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. */ /*************************************************************************************************** * Zone JS is required by Angular itself. */ import 'zone.js'; // Included with Angular CLI. declare global { interface Window { electron: { node: () => Promise, chrome: () => Promise, electron: () => Promise, }, main: { onMenuActions: (arg0: any) => Promise, }, fs: { getLspConfigData: () => Promise, getFileContents: (arg0: any) => Promise, openFiles: (arg0) => Promise, saveFile: (arg0: any, arg1: any) => Promise, saveFileAs: (arg0: any) => Promise, getPathForFile: any, onLoadFiles: (arg0: any) => Promise, } } }