Skip to content

Commit

Permalink
apply typings fix to other hooks (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarmanz authored Jul 12, 2024
1 parent cd38fa1 commit 55d59d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/async-node/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}

/**
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 55d59d6

Please sign in to comment.