From f09ef9d5ee5da1f035a75453d5a6b7b75e121da1 Mon Sep 17 00:00:00 2001 From: Kamil Szostak Date: Tue, 19 Jul 2016 23:07:32 -0700 Subject: [PATCH] Adding AppInsights global var (#10175) --- applicationinsights-js/applicationinsights-js.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/applicationinsights-js/applicationinsights-js.d.ts b/applicationinsights-js/applicationinsights-js.d.ts index d9ad3c1c9d..9047f44b9f 100644 --- a/applicationinsights-js/applicationinsights-js.d.ts +++ b/applicationinsights-js/applicationinsights-js.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ApplicationInsights-JS v0.22.14 +// Type definitions for ApplicationInsights-JS v0.23.2 // Project: https://github.com/Microsoft/ApplicationInsights-JS // Definitions by: Kamil Szostak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -788,3 +788,9 @@ declare module Microsoft.ApplicationInsights { _onerror(message: string, url: string, lineNumber: number, columnNumber: number, error: Error): any; } } + +declare module 'applicationinsights-js' { + export = appInsights; +} + +declare var appInsights: Microsoft.ApplicationInsights.IAppInsights; \ No newline at end of file