Skip to content

Commit 05a4e8f

Browse files
committed
Update more baselines (?)
1 parent 2233eba commit 05a4e8f

File tree

4 files changed

+79
-79
lines changed

4 files changed

+79
-79
lines changed

tests/baselines/reference/checkJsxChildrenCanBeTupleType.errors.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/jsx/checkJsxChildrenCanBeTupleType.tsx(17,17): error TS2763: No overload matches this call.
1+
tests/cases/conformance/jsx/checkJsxChildrenCanBeTupleType.tsx(17,17): error TS2769: No overload matches this call.
22
Overload 1 of 2, '(props: Readonly<ResizablePanelProps>): ResizablePanel', gave the following error.
33
Type '{ children: [Element, Element, Element]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
44
Types of property 'children' are incompatible.
@@ -30,17 +30,17 @@ tests/cases/conformance/jsx/checkJsxChildrenCanBeTupleType.tsx(17,17): error TS2
3030

3131
const testErr = <ResizablePanel>
3232
~~~~~~~~~~~~~~~~
33-
!!! error TS2763: No overload matches this call.
34-
!!! error TS2763: Overload 1 of 2, '(props: Readonly<ResizablePanelProps>): ResizablePanel', gave the following error.
35-
!!! error TS2763: Type '{ children: [Element, Element, Element]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
36-
!!! error TS2763: Types of property 'children' are incompatible.
37-
!!! error TS2763: Type '[Element, Element, Element]' is not assignable to type '[ReactNode, ReactNode]'.
38-
!!! error TS2763: Types of property 'length' are incompatible.
39-
!!! error TS2763: Type '3' is not assignable to type '2'.
40-
!!! error TS2763: Overload 2 of 2, '(props: ResizablePanelProps, context?: any): ResizablePanel', gave the following error.
41-
!!! error TS2763: Type '{ children: [Element, Element, Element]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
42-
!!! error TS2763: Types of property 'children' are incompatible.
43-
!!! error TS2763: Type '[Element, Element, Element]' is not assignable to type '[ReactNode, ReactNode]'.
33+
!!! error TS2769: No overload matches this call.
34+
!!! error TS2769: Overload 1 of 2, '(props: Readonly<ResizablePanelProps>): ResizablePanel', gave the following error.
35+
!!! error TS2769: Type '{ children: [Element, Element, Element]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
36+
!!! error TS2769: Types of property 'children' are incompatible.
37+
!!! error TS2769: Type '[Element, Element, Element]' is not assignable to type '[ReactNode, ReactNode]'.
38+
!!! error TS2769: Types of property 'length' are incompatible.
39+
!!! error TS2769: Type '3' is not assignable to type '2'.
40+
!!! error TS2769: Overload 2 of 2, '(props: ResizablePanelProps, context?: any): ResizablePanel', gave the following error.
41+
!!! error TS2769: Type '{ children: [Element, Element, Element]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
42+
!!! error TS2769: Types of property 'children' are incompatible.
43+
!!! error TS2769: Type '[Element, Element, Element]' is not assignable to type '[ReactNode, ReactNode]'.
4444
<div />
4545
<div />
4646
<div />

tests/baselines/reference/reactDefaultPropsInferenceSuccess.errors.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(27,21): error TS2763: No overload matches this call.
1+
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(27,21): error TS2769: No overload matches this call.
22
Overload 1 of 2, '(props: Readonly<Props>): FieldFeedback<Props>', gave the following error.
33
Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
44
Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
55
Type 'void' is not assignable to type 'boolean'.
66
Overload 2 of 2, '(props: Props, context?: any): FieldFeedback<Props>', gave the following error.
77
Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
88
Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
9-
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(43,22): error TS2763: No overload matches this call.
9+
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(43,22): error TS2769: No overload matches this call.
1010
Overload 1 of 2, '(props: Readonly<Props>): FieldFeedbackBeta<Props>', gave the following error.
1111
Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
1212
Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
1313
Type 'void' is not assignable to type 'boolean'.
1414
Overload 2 of 2, '(props: Props, context?: any): FieldFeedbackBeta<Props>', gave the following error.
1515
Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
1616
Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
17-
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(64,21): error TS2763: No overload matches this call.
17+
tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(64,21): error TS2769: No overload matches this call.
1818
Overload 1 of 2, '(props: Readonly<MyPropsProps>): FieldFeedback2<MyPropsProps>', gave the following error.
1919
Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
2020
Type 'void' is not assignable to type 'boolean'.
@@ -51,14 +51,14 @@ tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(64,21): error TS2763:
5151
// Error: Void not assignable to boolean
5252
const Test2 = () => <FieldFeedback when={value => console.log(value)} />;
5353
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54-
!!! error TS2763: No overload matches this call.
55-
!!! error TS2763: Overload 1 of 2, '(props: Readonly<Props>): FieldFeedback<Props>', gave the following error.
56-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
57-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
58-
!!! error TS2763: Type 'void' is not assignable to type 'boolean'.
59-
!!! error TS2763: Overload 2 of 2, '(props: Props, context?: any): FieldFeedback<Props>', gave the following error.
60-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
61-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
54+
!!! error TS2769: No overload matches this call.
55+
!!! error TS2769: Overload 1 of 2, '(props: Readonly<Props>): FieldFeedback<Props>', gave the following error.
56+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
57+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
58+
!!! error TS2769: Type 'void' is not assignable to type 'boolean'.
59+
!!! error TS2769: Overload 2 of 2, '(props: Props, context?: any): FieldFeedback<Props>', gave the following error.
60+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
61+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
6262
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:6:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedback<Props>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "children" | "error"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "when">> & Partial<Pick<{ when: () => boolean; }, never>>'
6363
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:6:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedback<Props>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "children" | "error"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "when">> & Partial<Pick<{ when: () => boolean; }, never>>'
6464

@@ -78,14 +78,14 @@ tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(64,21): error TS2763:
7878
// Error: Void not assignable to boolean
7979
const Test2a = () => <FieldFeedbackBeta when={value => console.log(value)} error>Hah</FieldFeedbackBeta>;
8080
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81-
!!! error TS2763: No overload matches this call.
82-
!!! error TS2763: Overload 1 of 2, '(props: Readonly<Props>): FieldFeedbackBeta<Props>', gave the following error.
83-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
84-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
85-
!!! error TS2763: Type 'void' is not assignable to type 'boolean'.
86-
!!! error TS2763: Overload 2 of 2, '(props: Props, context?: any): FieldFeedbackBeta<Props>', gave the following error.
87-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
88-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
81+
!!! error TS2769: No overload matches this call.
82+
!!! error TS2769: Overload 1 of 2, '(props: Readonly<Props>): FieldFeedbackBeta<Props>', gave the following error.
83+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
84+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
85+
!!! error TS2769: Type 'void' is not assignable to type 'boolean'.
86+
!!! error TS2769: Overload 2 of 2, '(props: Props, context?: any): FieldFeedbackBeta<Props>', gave the following error.
87+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '"a" | "b" | ((value: string) => boolean) | undefined'.
88+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
8989
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:6:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedbackBeta<Props>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "children"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "when" | "error">> & Partial<Pick<BaseProps, never>>'
9090
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:6:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedbackBeta<Props>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "children"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<Props>, "when" | "error">> & Partial<Pick<BaseProps, never>>'
9191

@@ -110,12 +110,12 @@ tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx(64,21): error TS2763:
110110
// Error: Void not assignable to boolean
111111
const Test4 = () => <FieldFeedback2 when={value => console.log(value)} />;
112112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113-
!!! error TS2763: No overload matches this call.
114-
!!! error TS2763: Overload 1 of 2, '(props: Readonly<MyPropsProps>): FieldFeedback2<MyPropsProps>', gave the following error.
115-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
116-
!!! error TS2763: Type 'void' is not assignable to type 'boolean'.
117-
!!! error TS2763: Overload 2 of 2, '(props: MyPropsProps, context?: any): FieldFeedback2<MyPropsProps>', gave the following error.
118-
!!! error TS2763: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
113+
!!! error TS2769: No overload matches this call.
114+
!!! error TS2769: Overload 1 of 2, '(props: Readonly<MyPropsProps>): FieldFeedback2<MyPropsProps>', gave the following error.
115+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
116+
!!! error TS2769: Type 'void' is not assignable to type 'boolean'.
117+
!!! error TS2769: Overload 2 of 2, '(props: MyPropsProps, context?: any): FieldFeedback2<MyPropsProps>', gave the following error.
118+
!!! error TS2769: Type '(value: string) => void' is not assignable to type '(value: string) => boolean'.
119119
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:46:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedback2<MyPropsProps>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<MyPropsProps>, "children" | "error"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<MyPropsProps>, "when">> & Partial<Pick<{ when: () => boolean; }, never>>'
120120
!!! related TS6500 tests/cases/compiler/reactDefaultPropsInferenceSuccess.tsx:46:3: The expected type comes from property 'when' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<FieldFeedback2<MyPropsProps>> & Pick<Readonly<{ children?: ReactNode; }> & Readonly<MyPropsProps>, "children" | "error"> & Partial<Pick<Readonly<{ children?: ReactNode; }> & Readonly<MyPropsProps>, "when">> & Partial<Pick<{ when: () => boolean; }, never>>'
121121

0 commit comments

Comments
 (0)