Skip to content

Commit b6629f4

Browse files
Remove unused arguments.
1 parent d407f14 commit b6629f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14573,7 +14573,7 @@ namespace ts {
1457314573
if (node.expression) {
1457414574
const type = checkExpression(node.expression, checkMode);
1457514575
if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) {
14576-
error(node, Diagnostics.JSX_spread_child_must_be_an_array_type, node.toString(), typeToString(type));
14576+
error(node, Diagnostics.JSX_spread_child_must_be_an_array_type);
1457714577
}
1457814578
return type;
1457914579
}

0 commit comments

Comments
 (0)