You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!!! 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'.
62
62
!!! 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>>'
63
63
!!! 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>>'
!!! 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'.
89
89
!!! 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>>'
90
90
!!! 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>>'
!!! 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'.
119
119
!!! 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>>'
120
120
!!! 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>>'
0 commit comments