Skip to content

Commit 108a68f

Browse files
authored
Merge pull request #145 from fartinmartin/concat
[JavaScript] `String.concat` accepts any number of `any` values
2 parents 3d27f15 + 934593f commit 108a68f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/JavaScript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ interface String {
10081008
* Those values are concatenated with the original string, the result is returned. The original string is not effected.Returns the concatenated string.
10091009
* @param value The values to be concatenated with the given string.
10101010
*/
1011-
concat(value: string): string
1011+
concat(...value: any[]): string
10121012

10131013
/**
10141014
* Returns a string consisting of this string enclosed in a <tt> tag.

0 commit comments

Comments
 (0)