Skip to content

Commit 840453e

Browse files
committed
fix: string.match is not annotated with @tupleReturn
1 parent 29a2bbe commit 840453e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/string.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ declare namespace string {
179179
* returns nil. If pattern specifies no captures, then the whole match is
180180
* returned. A third, optional numeric argument init specifies where to start
181181
* the search; its default value is 1 and can be negative.
182+
* @tupleReturn
182183
*/
183184
function match(s: string, pattern: string, init?: number): string[];
184185

0 commit comments

Comments
 (0)