diff --git a/rollup/tools/configuredSubpackagePlugin.ts b/rollup/tools/configuredSubpackagePlugin.ts index 6d104237..02538ae1 100644 --- a/rollup/tools/configuredSubpackagePlugin.ts +++ b/rollup/tools/configuredSubpackagePlugin.ts @@ -454,6 +454,11 @@ export function configuredSubpackagePlugin(): rollup.Plugin { default: './*.js', types: './*.d.ts' } + }, + typesVersions: { + '*': { + 'vscode/*': ['./vscode/src/*.d.ts'] + } } } } else { @@ -482,6 +487,11 @@ export function configuredSubpackagePlugin(): rollup.Plugin { default: './*.js', types: './*.d.ts' } + }, + typesVersions: { + '*': { + 'vscode/*': ['./vscode/src/*.d.ts'] + } } } } diff --git a/src/services.ts b/src/services.ts index 0e524c0e..598ff0ee 100644 --- a/src/services.ts +++ b/src/services.ts @@ -18,7 +18,10 @@ import { } from 'vs/platform/instantiation/common/instantiation' import type { IAction } from 'vs/base/common/actions' import { DisposableStore, type IDisposable } from 'vs/base/common/lifecycle' -import type { IWorkbenchConstructionOptions } from 'vs/workbench/browser/web.api' +import type { + IWorkbenchConstructionOptions, + IWorkspaceProvider +} from 'vs/workbench/browser/web.api' import type { IProductConfiguration } from 'vs/base/common/product' import { type ILazyWorkbenchContributionInstantiation, @@ -347,6 +350,7 @@ export type { ITextModelContentProvider, IColorTheme, IWorkbenchConstructionOptions, + IWorkspaceProvider, IEditorOverrideServices, WorkbenchContributionInstantiation, ILazyWorkbenchContributionInstantiation,