Skip to content

Commit

Permalink
fix UntrustedWorkspaces type
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Apr 22, 2021
1 parent 5d8f09d commit 00e8e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/extensions/common/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00e8e64

Please sign in to comment.