From 55d59d6a9a2e1d68be7a137c89b4bb919b558f13 Mon Sep 17 00:00:00 2001 From: Jeremiah Zucker Date: Fri, 12 Jul 2024 15:20:04 -0400 Subject: [PATCH] apply typings fix to other hooks (#423) --- plugins/async-node/core/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/async-node/core/src/index.ts b/plugins/async-node/core/src/index.ts index 5cf3ebd6b..a8f63c051 100644 --- a/plugins/async-node/core/src/index.ts +++ b/plugins/async-node/core/src/index.ts @@ -24,7 +24,7 @@ export interface AsyncNodeViewPlugin extends ViewPlugin { /** Use this to tap into the async node plugin hooks */ applyPlugin: (asyncNodePlugin: AsyncNodePlugin) => void; - asyncNode: AsyncParallelBailHook<[Node.Node], Node.Node>; + asyncNode: AsyncParallelBailHook<[Node.Async], any>; } /** @@ -61,7 +61,7 @@ export class AsyncNodePlugin implements PlayerPlugin { } export class AsyncNodePluginPlugin implements AsyncNodeViewPlugin { - public asyncNode = new AsyncParallelBailHook<[Node.Node], Node.Node>(); + public asyncNode = new AsyncParallelBailHook<[Node.Async], any>(); private basePlugin: AsyncNodePlugin | undefined; name = "AsyncNode";