Skip to content

Commit 6d4f83f

Browse files
author
Yui T
committed
Update baseline
1 parent 1125657 commit 6d4f83f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments3.errors.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ tests/cases/conformance/jsx/file.tsx(10,33): error TS2698: Spread types may only
33
tests/cases/conformance/jsx/file.tsx(11,33): error TS2698: Spread types may only be created from object types.
44
tests/cases/conformance/jsx/file.tsx(12,33): error TS2698: Spread types may only be created from object types.
55
tests/cases/conformance/jsx/file.tsx(14,33): error TS2698: Spread types may only be created from object types.
6+
tests/cases/conformance/jsx/file.tsx(14,63): error TS2698: Spread types may only be created from object types.
67
tests/cases/conformance/jsx/file.tsx(15,33): error TS2698: Spread types may only be created from object types.
8+
tests/cases/conformance/jsx/file.tsx(15,55): error TS2698: Spread types may only be created from object types.
79

810

9-
==== tests/cases/conformance/jsx/file.tsx (6 errors) ====
11+
==== tests/cases/conformance/jsx/file.tsx (8 errors) ====
1012
import React = require('react')
1113

1214
declare function OverloadComponent<U>(): JSX.Element;
@@ -30,9 +32,13 @@ tests/cases/conformance/jsx/file.tsx(15,33): error TS2698: Spread types may only
3032
let a4 = <OverloadComponent />;
3133
let a5 = <OverloadComponent {...arg2} ignore-prop="hello" {...arg1} />;
3234
~~~~~~~~~
35+
!!! error TS2698: Spread types may only be created from object types.
36+
~~~~~~~~~
3337
!!! error TS2698: Spread types may only be created from object types.
3438
let a6 = <OverloadComponent {...arg2} ignore-prop {...arg1} />;
3539
~~~~~~~~~
40+
!!! error TS2698: Spread types may only be created from object types.
41+
~~~~~~~~~
3642
!!! error TS2698: Spread types may only be created from object types.
3743
}
3844

0 commit comments

Comments
 (0)