Skip to content

Commit e398c7c

Browse files
committed
1 parent 14a178a commit e398c7c

File tree

1 file changed

+5
-6
lines changed
  • packages/react-form-with-constraints-native/src

1 file changed

+5
-6
lines changed

packages/react-form-with-constraints-native/src/Native.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ import {
1414
export class FormWithConstraints extends _FormWithConstraints {
1515
// @ts-ignore
1616
// Property 'validateFields' in type 'FormWithConstraints' is not assignable to the same property in base type 'FormWithConstraints'.
17-
validateFields(...inputsOrNames: Array<TextInput | string>);
17+
abstract validateFields(...inputsOrNames: Array<TextInput | string>);
1818

1919
// @ts-ignore
20-
validateFieldsWithoutFeedback(...inputsOrNames: Array<TextInput | string>);
20+
// Property 'validateFieldsWithoutFeedback' in type 'FormWithConstraints' is not assignable to the same property in base type 'FormWithConstraints'.
21+
abstract validateFieldsWithoutFeedback(...inputsOrNames: Array<TextInput | string>);
2122

2223
// @ts-ignore
2324
// Property 'normalizeInputs' in type 'FormWithConstraints' is not assignable to the same property in base type 'FormWithConstraints'.
@@ -74,11 +75,9 @@ export class FormWithConstraints extends _FormWithConstraints {
7475
}
7576

7677
// @ts-ignore
77-
async resetFields(...inputsOrNames: Array<TextInput | string>);
78+
// Property 'resetFields' in type 'FormWithConstraints' is not assignable to the same property in base type 'FormWithConstraints'.
79+
abstract async resetFields(...inputsOrNames: Array<TextInput | string>);
7880

79-
// FIXME
80-
// @ts-ignore
81-
// Function implementation name must be 'resetFields'.
8281
render() {
8382
// FIXME See Support for Fragments in react native instead of view https://react-native.canny.io/feature-requests/p/support-for-fragments-in-react-native-instead-of-view
8483
return <View {...this.props as any} />;

0 commit comments

Comments
 (0)