@@ -30,17 +30,15 @@ const myHoc = <ComposedComponentProps extends any>(
30
30
>props : Symbol(props, Decl(jsxExcessPropsAndAssignability.tsx, 10, 9))
31
31
>ComposedComponentProps : Symbol(ComposedComponentProps, Decl(jsxExcessPropsAndAssignability.tsx, 4, 15))
32
32
33
- // Expected no error, got none - good
34
33
<WrapperComponent {...props} myProp={'1000000'} />;
35
34
>WrapperComponent : Symbol(WrapperComponent, Decl(jsxExcessPropsAndAssignability.tsx, 8, 9))
36
35
>props : Symbol(props, Decl(jsxExcessPropsAndAssignability.tsx, 10, 9))
37
- >myProp : Symbol(myProp, Decl(jsxExcessPropsAndAssignability.tsx, 13 , 32))
36
+ >myProp : Symbol(myProp, Decl(jsxExcessPropsAndAssignability.tsx, 12 , 32))
38
37
39
- // Expected error, but got none - bad!
40
38
<WrapperComponent {...props} myProp={1000000} />;
41
39
>WrapperComponent : Symbol(WrapperComponent, Decl(jsxExcessPropsAndAssignability.tsx, 8, 9))
42
40
>props : Symbol(props, Decl(jsxExcessPropsAndAssignability.tsx, 10, 9))
43
- >myProp : Symbol(myProp, Decl(jsxExcessPropsAndAssignability.tsx, 15 , 32))
41
+ >myProp : Symbol(myProp, Decl(jsxExcessPropsAndAssignability.tsx, 13 , 32))
44
42
45
43
};
46
44
0 commit comments