From 4ac8fc0c265027d6b563ee15d83364cd6cefa1a5 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Wed, 19 Jan 2022 08:43:41 -0800 Subject: [PATCH] fix layering. fixes #140983 --- .../base/parts/quickinput/test/browser/quickinput.test.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/vs/base/parts/quickinput/test/browser/quickinput.test.ts b/src/vs/base/parts/quickinput/test/browser/quickinput.test.ts index ee53ef583cc08..05d5511424cee 100644 --- a/src/vs/base/parts/quickinput/test/browser/quickinput.test.ts +++ b/src/vs/base/parts/quickinput/test/browser/quickinput.test.ts @@ -5,12 +5,9 @@ import * as assert from 'assert'; import { IListRenderer, IListVirtualDelegate } from 'vs/base/browser/ui/list/list'; -import { List } from 'vs/base/browser/ui/list/listWidget'; +import { IListOptions, List } from 'vs/base/browser/ui/list/listWidget'; import { QuickInputController } from 'vs/base/parts/quickinput/browser/quickInput'; import { IQuickPick, IQuickPickItem } from 'vs/base/parts/quickinput/common/quickInput'; -// TODO@layers -// eslint-disable-next-line code-import-patterns -import { IWorkbenchListOptions } from 'vs/platform/list/browser/listService'; // Simple promisify of setTimeout function wait(delayMS: number) { @@ -43,7 +40,7 @@ suite('QuickInput', () => { container: HTMLElement, delegate: IListVirtualDelegate, renderers: IListRenderer[], - options: IWorkbenchListOptions, + options: IListOptions, ) => new List(user, container, delegate, renderers, options), styles: { button: {},