mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Add nested global member creation to shim (#35473)
This commit is contained in:
parent
a08d6ba4cf
commit
e8748f8162
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user