Move all impl to scrollable/

This commit is contained in:
Daniel Imms
2026-02-01 06:25:12 -08:00
parent eea03cf0a9
commit f666135881
36 changed files with 5164 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export type CodeWindow = Window & typeof globalThis & {
readonly vscodeWindowId: number;
};
export function ensureCodeWindow(targetWindow: Window, fallbackWindowId: number): asserts targetWindow is CodeWindow {
}
// eslint-disable-next-line no-restricted-globals
export const mainWindow = (typeof window === 'object' ? window : globalThis) as CodeWindow;