aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-22 20:23:51 -0500
committerGitHub <noreply@github.com>2023-12-23 01:23:51 +0000
commitcb4499fd8ab0322fa3ab706adfb46caf21c57eec (patch)
tree26e9947475de836465ef77cb9e62be9014098bb7 /types/ext
parent33886cf39bd8c128296834a6825992f8b8341fe7 (diff)
Update offscreen to use invokeApiMapHandler (#427)
* Update offscreen to use invokeApiMapHandler * Simplify init
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/offscreen.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/ext/offscreen.d.ts b/types/ext/offscreen.d.ts
index d67733bb..2046bfe0 100644
--- a/types/ext/offscreen.d.ts
+++ b/types/ext/offscreen.d.ts
@@ -131,3 +131,5 @@ export type OffscreenApiHandler<TName extends MessageType> = ApiHandler<Offscree
export type OffscreenApiParams<TName extends MessageType> = ApiParams<OffscreenApiSurface[TName]>;
export type OffscreenApiReturn<TName extends MessageType> = ApiReturn<OffscreenApiSurface[TName]>;
+
+export type MessageAny = Message<MessageType>;