Add nested global member creation to shim (#35473)

This commit is contained in:
Wesley Wigham authored and GitHub committed 2019-12-03 11:31:30 -08:00
1 parent a08d6ba4cf
commit e8748f8162
1 file changed
+5
+5
View File
@@ -39,6 +39,11 @@
// @ts-ignore
if (typeof process === "undefined" || process.browser) {
/// TODO: this is used by VS, clean this up on both sides of the interface
//@ts-ignore
globalThis.TypeScript = globalThis.TypeScript || {};
//@ts-ignore
globalThis.TypeScript.Services = globalThis.TypeScript.Services || {};
//@ts-ignore
globalThis.TypeScript.Services.TypeScriptServicesFactory = ts.TypeScriptServicesFactory;