Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr1s70ph committed Dec 12, 2021
1 parent 2357729 commit 8e6929b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/customTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class DiscordClient extends Client {
* @param {Object} options Options
* @returns {string}
*/
public translate(key: string, options?: object): string {
public translate(key: string | string[], options?: object | string): string {
return i18next.t(key, options)
}
}
Expand Down

0 comments on commit 8e6929b

Please sign in to comment.