Skip to content

Commit

Permalink
[FIX] typo for nodeResolver now corespond to the default function type
Browse files Browse the repository at this point in the history
  • Loading branch information
flav-code authored Dec 18, 2023
1 parent b2481e5 commit 29a7e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shoukaku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface ShoukakuOptions {
/**
* Node Resolver to use if you want to customize it
*/
nodeResolver?: (node: Map<string, Node>, connection: Connection) => Node|undefined;
nodeResolver?: (nodes: Map<string, Node>) => Node|undefined;
}

export interface VoiceChannelOptions {
Expand Down

0 comments on commit 29a7e69

Please sign in to comment.