[BUG] Type signature for stopTrackEvent is incorrect #2430
Labels
investigation required
Further investigation or discussions required
keep
Do not Mark as Stale and close
Description/Screenshot
The
properties
parameter is of type{[key: string]: string}
ApplicationInsights-JS/shared/AppInsightsCommon/src/Interfaces/IAppInsights.ts
Line 28 in ed8632a
Per the README.md, "objects are okay too".
ApplicationInsights-JS/README.md
Lines 270 to 284 in ed8632a
Expected behavior
Testing reveals that nested objects are handled just fine here. Perhaps the signature should be updated to match
trackEvent
'scustomProperties
parameter of type{[key: string]: any}
?Additional context
All links and testing in version 3.3.3
The text was updated successfully, but these errors were encountered: