added noselect to tabs; moved poly fills to ts file; moved globals to polyfills file too

This commit is contained in:
2025-06-03 00:32:44 -05:00
parent 0d1fdfa031
commit dabc089b83
5 changed files with 27 additions and 27 deletions

View File

@@ -6,6 +6,29 @@
/***************************************************************************************************
* Zone JS is required by Angular itself.
*/
import 'zone.js'; // Included with Angular CLI.
// If you need other polyfills, add them here.
declare global {
interface Window {
electron: {
node: () => Promise<string>,
chrome: () => Promise<string>,
electron: () => Promise<string>,
},
main: {
onMenuActions: (arg0: any) => Promise<string>,
},
fs: {
getLspConfigData: () => Promise<string>,
getFileContents: (arg0: any) => Promise<string>,
openFiles: (arg0) => Promise<string>,
saveFile: (arg0: any, arg1: any) => Promise<string>,
saveFileAs: (arg0: any) => Promise<string>,
getPathForFile: any,
onLoadFiles: (arg0: any) => Promise<string>,
}
}
}