mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed TypeScript warnings
This commit is contained in:
parent
0145f6d278
commit
6cf14bed10
@ -91,8 +91,8 @@ export function watchWorker<T extends WorkerMessage>(
|
||||
const rx$ = fromEventPattern<MessageEvent>(next =>
|
||||
worker.addEventListener("message", next)
|
||||
)
|
||||
.pipe(
|
||||
pluck<MessageEvent, T>("data")
|
||||
.pipe<T>(
|
||||
pluck("data")
|
||||
)
|
||||
|
||||
/* Send and receive messages, return hot observable */
|
||||
|
Loading…
Reference in New Issue
Block a user