Skip to content

Commit 9483b34

Browse files
ocavueljharb
authored andcommitted
Fix types for string.prototype.repeat
1 parent 9e7d3b4 commit 9483b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
declare module 'string.prototype.repeat' {
2-
export = typeof Function.call.bind(String.prototype.repeat);
2+
function repeat(text: string, count: number): string;
3+
export = repeat;
34
}

0 commit comments

Comments
 (0)