Remove paths from tsconfig.base.json

This commit is contained in:
Jake Bailey
2025-01-22 08:37:06 -08:00
parent b11d84d0cb
commit 75db9eb509
5 changed files with 11 additions and 17 deletions
+3 -3
View File
@@ -5,9 +5,9 @@
(function () {
type ISandboxConfiguration = import('vs/base/parts/sandbox/common/sandboxTypes.js').ISandboxConfiguration;
type ILoadResult<M, T extends ISandboxConfiguration> = import('vs/platform/window/electron-sandbox/window.js').ILoadResult<M, T>;
type ILoadOptions<T extends ISandboxConfiguration> = import('vs/platform/window/electron-sandbox/window.js').ILoadOptions<T>;
type ISandboxConfiguration = import('./vs/base/parts/sandbox/common/sandboxTypes.js').ISandboxConfiguration;
type ILoadResult<M, T extends ISandboxConfiguration> = import('./vs/platform/window/electron-sandbox/window.js').ILoadResult<M, T>;
type ILoadOptions<T extends ISandboxConfiguration> = import('./vs/platform/window/electron-sandbox/window.js').ILoadOptions<T>;
type IMainWindowSandboxGlobals = import('./vs/base/parts/sandbox/electron-sandbox/globals.js').IMainWindowSandboxGlobals;
const preloadGlobals: IMainWindowSandboxGlobals = (window as any).vscode; // defined by preload.ts
-6
View File
@@ -12,12 +12,6 @@
"exactOptionalPropertyTypes": false,
"useUnknownInCatchVariables": false,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"vs/*": [
"./vs/*"
]
},
"target": "es2022",
"useDefineForClassFields": false,
"lib": [
@@ -9,7 +9,7 @@
const { ipcRenderer, webFrame, contextBridge, webUtils } = require('electron');
type ISandboxConfiguration = import('vs/base/parts/sandbox/common/sandboxTypes.js').ISandboxConfiguration;
type ISandboxConfiguration = import('../common/sandboxTypes.js').ISandboxConfiguration;
//#region Utilities
@@ -7,9 +7,9 @@
(async function () {
type IBootstrapWindow = import('vs/platform/window/electron-sandbox/window.js').IBootstrapWindow;
type IProcessExplorerMain = import('vs/code/electron-sandbox/processExplorer/processExplorerMain.js').IProcessExplorerMain;
type ProcessExplorerWindowConfiguration = import('vs/platform/process/common/process.js').ProcessExplorerWindowConfiguration;
type IBootstrapWindow = import('../../../platform/window/electron-sandbox/window.js').IBootstrapWindow;
type IProcessExplorerMain = import('./processExplorerMain.js').IProcessExplorerMain;
type ProcessExplorerWindowConfiguration = import('../../../platform/process/common/process.js').ProcessExplorerWindowConfiguration;
const bootstrapWindow: IBootstrapWindow = (window as any).MonacoBootstrapWindow; // defined by bootstrap-window.ts
@@ -10,10 +10,10 @@
// Add a perf entry right from the top
performance.mark('code/didStartRenderer');
type INativeWindowConfiguration = import('vs/platform/window/common/window.ts').INativeWindowConfiguration;
type IBootstrapWindow = import('vs/platform/window/electron-sandbox/window.js').IBootstrapWindow;
type IMainWindowSandboxGlobals = import('vs/base/parts/sandbox/electron-sandbox/globals.js').IMainWindowSandboxGlobals;
type IDesktopMain = import('vs/workbench/electron-sandbox/desktop.main.js').IDesktopMain;
type INativeWindowConfiguration = import('../../../platform/window/common/window.ts').INativeWindowConfiguration;
type IBootstrapWindow = import('../../../platform/window/electron-sandbox/window.js').IBootstrapWindow;
type IMainWindowSandboxGlobals = import('../../../base/parts/sandbox/electron-sandbox/globals.js').IMainWindowSandboxGlobals;
type IDesktopMain = import('../../../workbench/electron-sandbox/desktop.main.js').IDesktopMain;
const bootstrapWindow: IBootstrapWindow = (window as any).MonacoBootstrapWindow; // defined by bootstrap-window.ts
const preloadGlobals: IMainWindowSandboxGlobals = (window as any).vscode; // defined by preload.ts