We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08d6ba commit e8748f8Copy full SHA for e8748f8
src/services/globalThisShim.ts
@@ -39,6 +39,11 @@
39
// @ts-ignore
40
if (typeof process === "undefined" || process.browser) {
41
/// TODO: this is used by VS, clean this up on both sides of the interface
42
+
43
+ //@ts-ignore
44
+ globalThis.TypeScript = globalThis.TypeScript || {};
45
46
+ globalThis.TypeScript.Services = globalThis.TypeScript.Services || {};
47
//@ts-ignore
48
globalThis.TypeScript.Services.TypeScriptServicesFactory = ts.TypeScriptServicesFactory;
49
0 commit comments