We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1187942 + 4162897 commit a07a944Copy full SHA for a07a944
src/services/shims.ts
@@ -16,7 +16,7 @@
16
/// <reference path='services.ts' />
17
18
/* @internal */
19
-let debugObjectHost = new Function("return this")();
+let debugObjectHost = (function (this: any) { return this; })();
20
21
// We need to use 'null' to interface with the managed side.
22
/* tslint:disable:no-null-keyword */
0 commit comments