forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
23 lines (18 loc) · 669 Bytes
/
types.ts
File metadata and controls
23 lines (18 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
import { Progress, Uri } from 'vscode';
export interface CreateEnvironmentProgress extends Progress<{ message?: string; increment?: number }> {}
export interface CreateEnvironmentOptions {
installPackages?: boolean;
ignoreSourceControl?: boolean;
}
export interface CreateEnvironmentResult {
path: string | undefined;
uri: Uri | undefined;
}
export interface CreateEnvironmentProvider {
createEnvironment(options?: CreateEnvironmentOptions): Promise<CreateEnvironmentResult | undefined>;
name: string;
description: string;
id: string;
}