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
#166)

* [FIX] typo for nodeResolver now corespond to the default function type

* Update Shoukaku.ts

* Update Player.ts

* Update Shoukaku.ts

* Update Shoukaku.ts

* Update Player.ts
  • Loading branch information
flav-code authored Dec 21, 2023
1 parent 54d2a28 commit a8437a4
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>, connection?: Connection) => Node|undefined;
}

export interface VoiceChannelOptions {
Expand Down

0 comments on commit a8437a4

Please sign in to comment.