Path: blob/main/src/typings/vscode-globals-product.d.ts
5312 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45// AMD2ESM migration relevant67declare global {89/**10* Holds the file root for resources.11*/12var _VSCODE_FILE_ROOT: string;1314/**15* CSS loader that's available during development time.16* DO NOT call directly, instead just import css modules, like `import 'some.css'`17*/18var _VSCODE_CSS_LOAD: (module: string) => void;1920/**21* @deprecated You MUST use `IProductService` whenever possible.22*/23var _VSCODE_PRODUCT_JSON: Record<string, any>;24/**25* @deprecated You MUST use `IProductService` whenever possible.26*/27var _VSCODE_PACKAGE_JSON: Record<string, any>;2829/**30* Used to disable CSS import map loading during development. Needed31* when a bundler is used that loads the css directly.32* @deprecated Avoid using this variable.33*/34var _VSCODE_DISABLE_CSS_IMPORT_MAP: boolean | undefined;3536/**37* If this variable is set, and the source code references another module38* via import, the (relative) module should be referenced (instead of the39* JS module in the out folder).40* @deprecated Avoid using this variable.41*/42var _VSCODE_USE_RELATIVE_IMPORTS: boolean | undefined;43}4445// fake export to make global work46export { }474849