Skip to content

Commit

Permalink
Fix no-unnecessary-generics
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien LESÉNÉCHAL committed Oct 4, 2023
1 parent 067b9b0 commit 774c178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mw/hook.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ declare global {
* @member mw
* @see https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.hook
*/
function hook<T extends any[] = any[]>(event: string): Hook<T>;
function hook(event: string): Hook;
}
}

Expand Down

0 comments on commit 774c178

Please sign in to comment.