@@ -45,23 +45,23 @@ test/should-fail.test.tsx(135,20): error TS2551: Property 'visibles' does not ex
45
45
test/should-fail.test.tsx(140,3): error TS2345: Argument of type '(props: { visible : boolean ; } & object) => { display : \\" none\\ " | \\" hidden\\ " ; } ' is not assignable to parameter of type 'StyleArgument<CSSProperties, { visible : boolean ; } & object>'.
46
46
Type '(props: { visible : boolean ; } & object) => { display : \\" none\\ " | \\" hidden\\ " ; } ' is not assignable to type '(string | CSSProperties | StyleFunction<CSSProperties, { visible : boolean ; } & object>)[]'.
47
47
Property 'push' is missing in type '(props: { visible : boolean ; } & object) => { display : \\" none\\ " | \\" hidden\\ " ; } '.
48
- test/should-fail.test.tsx(150,29): error TS2322: Type '{ visible : \\ " string\\ " ; } ' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ExampleComponentProps & object & ExtraGl...'.
49
- Type ' { visible: \\" string\\" ; }' is not assignable to type ' Readonly<ExampleComponentProps & object & ExtraGlamorousProps>' .
48
+ test/should-fail.test.tsx(150,29): error TS2322: Type '{ visible : string ; } ' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ExampleComponentProps & object & ExtraGl...'.
49
+ Type ' { visible: string; }' is not assignable to type ' Readonly<ExampleComponentProps & object & ExtraGlamorousProps>' .
50
50
Types of property ' visible' are incompatible.
51
- Type ' \\" string\\" ' is not assignable to type ' boolean' .
51
+ Type ' string' is not assignable to type ' boolean' .
52
52
test/should-fail.test.tsx(151,5): error TS2322: Type ' {}' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<ExampleComponentProps & object & ExtraGl...' .
53
53
Type ' {}' is not assignable to type ' Readonly<ExampleComponentProps & object & ExtraGlamorousProps>' .
54
54
Property ' visible' is missing in type ' {}' .
55
- test/should-fail.test.tsx(152,32): error TS2322: Type ' { visible: \\" string\\" ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & { visible: b...' .
56
- Type ' { visible: \\" string\\" ; }' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & { visible: boolean; } & object & ExtraGlamorousProps>' .
55
+ test/should-fail.test.tsx(152,32): error TS2322: Type ' { visible: string; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & { visible: b...' .
56
+ Type ' { visible: string; }' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & { visible: boolean; } & object & ExtraGlamorousProps>' .
57
57
Types of property ' visible' are incompatible.
58
- Type ' \\" string\\" ' is not assignable to type ' boolean' .
58
+ Type ' string' is not assignable to type ' boolean' .
59
59
test/should-fail.test.tsx(153,5): error TS2322: Type ' {}' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & { visible: b...' .
60
60
Type ' {}' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & { visible: boolean; } & object & ExtraGlamorousProps>' .
61
61
Property ' visible' is missing in type ' {}' .
62
- test/should-fail.test.tsx(157,21): error TS2345: Argument of type ' { allowReorder: false ; }' is not assignable to parameter of type ' StyleArgument<SVGProperties, object & {}>' .
63
- Type ' { allowReorder: false ; }' is not assignable to type ' (string | SVGProperties | StyleFunction<SVGProperties, object & {}>)[]' .
64
- Property ' length' is missing in type ' { allowReorder: false ; }' .
62
+ test/should-fail.test.tsx(157,21): error TS2345: Argument of type ' { allowReorder: boolean ; }' is not assignable to parameter of type ' StyleArgument<SVGProperties, object & {}>' .
63
+ Type ' { allowReorder: boolean ; }' is not assignable to type ' (string | SVGProperties | StyleFunction<SVGProperties, object & {}>)[]' .
64
+ Property ' length' is missing in type ' { allowReorder: boolean ; }' .
65
65
test/should-fail.test.tsx(158,18): error TS2345: Argument of type ' { color: boolean; }' is not assignable to parameter of type ' StyleArgument<CSSProperties, object & {}>' .
66
66
Type ' { color: boolean; }' is not assignable to type ' (string | CSSProperties | StyleFunction<CSSProperties, object & {}>)[]' .
67
67
Property ' length' is missing in type ' { color: boolean; }' .
@@ -81,21 +81,21 @@ test/should-fail.test.tsx(224,3): error TS2345: Argument of type '(props: { visi
81
81
test/should-fail.test.tsx(229,1): error TS2554: Expected 1 arguments, but got 0.
82
82
test/should-fail.test.tsx(230,30): error TS2345: Argument of type ' \\"\\"' is not assignable to parameter of type ' object' .
83
83
test/should-fail.test.tsx(231,30): error TS2345: Argument of type ' false' is not assignable to parameter of type ' object' .
84
- test/should-fail.test.tsx(257,19): error TS2559: Type ' { d: \\"\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & Partial<{ pr...' .
85
- test/should-fail.test.tsx(258,19): error TS2322: Type ' { primaryColor: 1 ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & Partial<{ pr...' .
86
- Type ' { primaryColor: 1 ; }' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & Partial<{ primaryColor: string; }> & Pick<{ theme?: any; }, ...' .
84
+ test/should-fail.test.tsx(257,19): error TS2559: Type ' { d: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & Partial<{ pr...' .
85
+ test/should-fail.test.tsx(258,19): error TS2322: Type ' { primaryColor: number ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & Partial<{ pr...' .
86
+ Type ' { primaryColor: number ; }' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & Partial<{ primaryColor: string; }> & Pick<{ theme?: any; }, ...' .
87
87
Types of property ' primaryColor' are incompatible.
88
- Type ' 1 ' is not assignable to type ' string | undefined' .
89
- test/should-fail.test.tsx(259,31): error TS2559: Type ' { d: \\"\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<Partial<{ primaryColor: string; }> & Pic...' .
90
- test/should-fail.test.tsx(260,31): error TS2322: Type ' { primaryColor: 1 ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<Partial<{ primaryColor: string; }> & Pic...' .
91
- Type ' { primaryColor: 1 ; }' is not assignable to type ' Readonly<Partial<{ primaryColor: string; }> & Pick<{ theme: any; }, never> & ExtraGlamorousProps>' .
88
+ Type ' number ' is not assignable to type ' string | undefined' .
89
+ test/should-fail.test.tsx(259,31): error TS2559: Type ' { d: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<Partial<{ primaryColor: string; }> & Pic...' .
90
+ test/should-fail.test.tsx(260,31): error TS2322: Type ' { primaryColor: number ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<Partial<{ primaryColor: string; }> & Pic...' .
91
+ Type ' { primaryColor: number ; }' is not assignable to type ' Readonly<Partial<{ primaryColor: string; }> & Pick<{ theme: any; }, never> & ExtraGlamorousProps>' .
92
92
Types of property ' primaryColor' are incompatible.
93
- Type ' 1 ' is not assignable to type ' string | undefined' .
94
- test/should-fail.test.tsx(261,31): error TS2559: Type ' { d: \\"\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & Partial<{ primaryColor: string;...' .
95
- test/should-fail.test.tsx(262,31): error TS2322: Type ' { primaryColor: 1 ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & Partial<{ primaryColor: string;...' .
96
- Type ' { primaryColor: 1 ; }' is not assignable to type ' Readonly<object & Partial<{ primaryColor: string; }> & ExtraGlamorousProps>' .
93
+ Type ' number ' is not assignable to type ' string | undefined' .
94
+ test/should-fail.test.tsx(261,31): error TS2559: Type ' { d: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & Partial<{ primaryColor: string;...' .
95
+ test/should-fail.test.tsx(262,31): error TS2322: Type ' { primaryColor: number ; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & Partial<{ primaryColor: string;...' .
96
+ Type ' { primaryColor: number ; }' is not assignable to type ' Readonly<object & Partial<{ primaryColor: string; }> & ExtraGlamorousProps>' .
97
97
Types of property ' primaryColor' are incompatible.
98
- Type ' 1 ' is not assignable to type ' string | undefined' .
98
+ Type ' number ' is not assignable to type ' string | undefined' .
99
99
test/should-fail.test.tsx(267,15): error TS2345: Argument of type ' { textAlign: \\"center\\"; display: (\\"block\\" | \\"flexs\\")[]; }' is not assignable to parameter of type ' StyleArgument<CSSProperties, {}>' .
100
100
Type ' { textAlign: \\"center\\"; display: (\\"block\\" | \\"flexs\\")[]; }' is not assignable to type ' (string | CSSProperties | StyleFunction<CSSProperties, {}>)[]' .
101
101
Property ' length' is missing in type ' { textAlign: \\"center\\"; display: (\\"block\\" | \\"flexs\\")[]; }' .
@@ -105,14 +105,14 @@ test/should-fail.test.tsx(272,18): error TS2345: Argument of type '{ textAlign:
105
105
test/should-fail.test.tsx(289,35): error TS2322: Type ' { display: \\"blocks\\"; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & CSSProperties & ExtraGlamorousP...' .
106
106
Type ' { display: \\"blocks\\"; }' is not assignable to type ' Readonly<object & CSSProperties & ExtraGlamorousProps>' .
107
107
Types of property ' display' are incompatible.
108
- Type ' \\"blocks\\"' is not assignable to type ' \\"none\\" | \\"table \\" | \\"ruby \\" | \\"initial \\" | \\"inherit \\" | \\"unset \\" | \\"block \\" | \\"inline \\" | \\"run-in \\" | \\"fl ...' .
109
- test/should-fail.test.tsx(290,38): error TS2559: Type ' { display: \\"block\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & ExtraGlamorousProps, ComponentS...' .
110
- test/should-fail.test.tsx(291,42): error TS2559: Type ' { display: \\"block\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & ExtraGlamorousProps, ComponentS...' .
108
+ Type ' \\"blocks\\"' is not assignable to type ' \\"none\\" | \\"ruby \\" | \\"table \\" | \\"inline \\" | \\"grid \\" | \\"initial \\" | \\"inherit \\" | \\"unset \\" | \\"block \\" | \\"run- ...' .
109
+ test/should-fail.test.tsx(290,38): error TS2559: Type ' { display: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & ExtraGlamorousProps, ComponentS...' .
110
+ test/should-fail.test.tsx(291,42): error TS2559: Type ' { display: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<object & ExtraGlamorousProps, ComponentS...' .
111
111
test/should-fail.test.tsx(293,29): error TS2322: Type ' { display: \\"blocks\\"; }' is not assignable to type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & object & CSS...' .
112
112
Type ' { display: \\"blocks\\"; }' is not assignable to type ' Readonly<HTMLProps<HTMLDivElement> & object & CSSProperties & ExtraGlamorousProps>' .
113
113
Types of property ' display' are incompatible.
114
- Type ' \\"blocks\\"' is not assignable to type ' \\"none\\" | \\"table \\" | \\"ruby \\" | \\"initial \\" | \\"inherit \\" | \\"unset \\" | \\"block \\" | \\"inline \\" | \\"run-in \\" | \\"fl ...' .
115
- test/should-fail.test.tsx(294,32): error TS2559: Type ' { display: \\"block\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & object & Ext...' .
116
- test/should-fail.test.tsx(295,36): error TS2559: Type ' { display: \\"block\\" ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & object & Ext...' .
114
+ Type ' \\"blocks\\"' is not assignable to type ' \\"none\\" | \\"ruby \\" | \\"table \\" | \\"inline \\" | \\"grid \\" | \\"initial \\" | \\"inherit \\" | \\"unset \\" | \\"block \\" | \\"run- ...' .
115
+ test/should-fail.test.tsx(294,32): error TS2559: Type ' { display: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & object & Ext...' .
116
+ test/should-fail.test.tsx(295,36): error TS2559: Type ' { display: string ; }' has no properties in common with type ' IntrinsicAttributes & IntrinsicClassAttributes<Component<HTMLProps<HTMLDivElement> & object & Ext...' .
117
117
"
118
118
`;
0 commit comments