Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/util/vs/vscode-globals-product.d.ts
13397 views
1
//!!! DO NOT modify, this file was COPIED from 'microsoft/vscode'
2
3
/*---------------------------------------------------------------------------------------------
4
* Copyright (c) Microsoft Corporation. All rights reserved.
5
* Licensed under the MIT License. See License.txt in the project root for license information.
6
*--------------------------------------------------------------------------------------------*/
7
8
// AMD2ESM migration relevant
9
10
declare global {
11
12
/**
13
* Holds the file root for resources.
14
*/
15
var _VSCODE_FILE_ROOT: string;
16
17
/**
18
* CSS loader that's available during development time.
19
* DO NOT call directly, instead just import css modules, like `import 'some.css'`
20
*/
21
var _VSCODE_CSS_LOAD: (module: string) => void;
22
23
/**
24
* @deprecated You MUST use `IProductService` whenever possible.
25
*/
26
var _VSCODE_PRODUCT_JSON: Record<string, any>;
27
/**
28
* @deprecated You MUST use `IProductService` whenever possible.
29
*/
30
var _VSCODE_PACKAGE_JSON: Record<string, any>;
31
32
/**
33
* Used to disable CSS import map loading during development. Needed
34
* when a bundler is used that loads the css directly.
35
* @deprecated Avoid using this variable.
36
*/
37
var _VSCODE_DISABLE_CSS_IMPORT_MAP: boolean | undefined;
38
39
/**
40
* If this variable is set, and the source code references another module
41
* via import, the (relative) module should be referenced (instead of the
42
* JS module in the out folder).
43
* @deprecated Avoid using this variable.
44
*/
45
var _VSCODE_USE_RELATIVE_IMPORTS: boolean | undefined;
46
}
47
48
// fake export to make global work
49
export { }
50
51