We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00d42c commit 0a0cb60Copy full SHA for 0a0cb60
src/test/mocks/extensions.ts
@@ -7,7 +7,7 @@ export class MockExtensions implements IExtensions {
7
all: readonly Extension<unknown>[] = [];
8
onDidChange: Event<void> = (() => {
9
throw new Error('Method not implemented');
10
- })();
+ });
11
getExtension(extensionId: string): Extension<unknown> | undefined;
12
getExtension<T>(extensionId: string): Extension<T> | undefined;
13
getExtension(_extensionId: unknown): import('vscode').Extension<unknown> | undefined {
0 commit comments