Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/typings/vscode-globals-product.d.ts
3290 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
// AMD2ESM migration relevant
7
8
declare global {
9
10
/**
11
* Holds the file root for resources.
12
*/
13
var _VSCODE_FILE_ROOT: string;
14
15
/**
16
* CSS loader that's available during development time.
17
* DO NOT call directly, instead just import css modules, like `import 'some.css'`
18
*/
19
var _VSCODE_CSS_LOAD: (module: string) => void;
20
21
/**
22
* @deprecated You MUST use `IProductService` whenever possible.
23
*/
24
var _VSCODE_PRODUCT_JSON: Record<string, any>;
25
/**
26
* @deprecated You MUST use `IProductService` whenever possible.
27
*/
28
var _VSCODE_PACKAGE_JSON: Record<string, any>;
29
30
}
31
32
// fake export to make global work
33
export { }
34
35