Adding AppInsights global var (#10175)

This commit is contained in:
Kamil Szostak
2016-07-19 23:07:32 -07:00
committed by Mohamed Hegazy
parent 03cd162da0
commit f09ef9d5ee
+7 -1
View File
@@ -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 <https://github.com/kamilszostak>
// 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;