Use lightweight versions of most vs/ imports

This commit is contained in:
Daniel Imms
2026-01-31 22:52:19 -08:00
parent 87e0b9ab10
commit eea03cf0a9
19 changed files with 193 additions and 23 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
import type { Terminal, ITerminalAddon, IDisposable } from '@xterm/xterm';
import type { ProgressAddon as IProgressApi, IProgressState } from '@xterm/addon-progress';
import type { Emitter, Event } from 'vs/base/common/event';
import type { Emitter, IEvent } from 'common/Event';
const enum ProgressType {
@@ -39,7 +39,7 @@ export class ProgressAddon implements ITerminalAddon, IProgressApi {
private _pr = 0;
// HACK: This uses ! to align with the API, this should be fixed when 5283 is resolved
private _onChange!: Emitter<IProgressState>;
public onChange!: Event<IProgressState>;
public onChange!: IEvent<IProgressState>;
public dispose(): void {
this._seqHandler?.dispose();
+6
View File
@@ -15,6 +15,9 @@
"../../../node_modules/@types/mocha"
],
"paths": {
"common/*": [
"../../../src/common/*"
],
"browser/*": [
"../../../src/browser/*"
],
@@ -34,6 +37,9 @@
{
"path": "../../../src/browser"
},
{
"path": "../../../src/common"
},
{
"path": "../../../src/vs"
}