refactor: Upgrade to TypeScript 5.5 (no-changelog) (#9828)

This commit is contained in:
Iván Ovejero
2024-06-24 17:49:59 +02:00
committed by GitHub
parent 1ba656ef4a
commit e33a47311f
16 changed files with 321 additions and 322 deletions

View File

@@ -148,13 +148,15 @@ export class Telemetry {
properties.success ? 'success' : 'error'
}`;
if (!this.executionCountsBuffer[workflowId][key]) {
const executionTrackDataKey = this.executionCountsBuffer[workflowId][key];
if (!executionTrackDataKey) {
this.executionCountsBuffer[workflowId][key] = {
count: 1,
first: execTime,
};
} else {
this.executionCountsBuffer[workflowId][key]!.count++;
executionTrackDataKey.count++;
}
if (