fix UntrustedWorkspaces type

This commit is contained in:
Sandeep Somavarapu 2021-04-22 11:23:08 +02:00
parent 5d8f09d270
commit 00e8e6459d
No known key found for this signature in database
GPG key ID: 1FED25EC4646638B

View file

@ -166,7 +166,7 @@ export interface IExtensionContributions {
export type ExtensionKind = 'ui' | 'workspace' | 'web';
export type ExtensionWorkspaceTrustRequestType = 'never' | 'onStart' | 'onDemand';
export type ExtensionWorkspaceTrust = { request: 'never'; } | { request: 'onStart', description: string } | { request: 'onDemand', description: string };
export type UntrustedWorkspaces = { supported: true; } | { supported: false, description: string } | { supported: boolean | 'limited', description: string, restrictedConfigurations?: string[] };
export type UntrustedWorkspaces = { supported: true; } | { supported: false, description: string } | { supported: 'limited', description: string, restrictedConfigurations?: string[] };
export function isIExtensionIdentifier(thing: any): thing is IExtensionIdentifier {
return thing