Internal interface to pass appInsights object to subcomponents without coupling

interface IAppInsightsInternal {
    sendPageViewInternal(pageViewItem: IPageViewTelemetryInternal, properties?: Object, systemProperties?: Object): void;
    sendPageViewPerformanceInternal(pageViewPerformance: IPageViewPerformanceTelemetryInternal, properties?: Object, systemProperties?: Object): void;
}

Implemented by

Methods

  • Parameters

    • pageViewItem: IPageViewTelemetryInternal
    • Optionalproperties: Object
    • OptionalsystemProperties: Object

    Returns void

  • Parameters

    • pageViewPerformance: IPageViewPerformanceTelemetryInternal
    • Optionalproperties: Object
    • OptionalsystemProperties: Object

    Returns void