Skip to content

Commit

Permalink
Fix types for string.prototype.repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Oct 12, 2024
1 parent 9a35599 commit 7297145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/string.prototype.repeat/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
declare module 'string.prototype.repeat' {
export = typeof Function.call.bind(String.prototype.repeat);
function repeat(text: string, count: number): string;
export = repeat;
}

0 comments on commit 7297145

Please sign in to comment.