Update dependency comlink to v4.4.0 (#62628)

* Update dependency comlink to v4.4.0

* explicitly mark the error as unknown

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
renovate[bot]
2023-02-01 13:04:55 +00:00
committed by GitHub
parent 8d7e7693f2
commit 4c8c243c6e
3 changed files with 11 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export const remoteObservableAsObservable = <T>(remoteObs: comlink.RemoteObject<
comlink.proxy((nextValueInRemoteObs: T) => {
subscriber.next(nextValueInRemoteObs);
}),
comlink.proxy((err) => {
comlink.proxy((err: unknown) => {
subscriber.error(err);
}),
comlink.proxy(() => {