We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c906e76 commit bfe78ebCopy full SHA for bfe78eb
extensions/ql-vscode/src/common/vscode/telemetry.ts
@@ -128,7 +128,8 @@ export class ExtensionTelemetryListener
128
);
129
this.push(this.reporter);
130
131
- const client = (this.reporter as any).appInsightsClient as TelemetryClient;
+ // The appInsightsClient field is private but we want to access it anyway
132
+ const client = this.reporter["appInsightsClient"] as TelemetryClient;
133
if (client) {
134
// add a telemetry processor to delete unwanted properties
135
client.addTelemetryProcessor((envelope: any) => {
0 commit comments