You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BrowserTracker: fix method type definitions (close#1259) (#1284)
* BrowserTracker: fix method type definitions
Per the [TypeScript
docs](https://www.typescriptlang.org/docs/handbook/2/functions.html#return-type-void),
functions that return values are type-compatible with functions declared
as having void return type; however if you're consuming these type
definitions this becomes annoying as you are required to cast `as
unknown as T` at the call sites to get the correct types actually
returned from these methods.
0 commit comments