diff options
author | 2022-10-31 05:20:17 +0530 | |
---|---|---|
committer | 2022-10-30 23:50:17 +0000 | |
commit | 011e73f24f8ae15091d41781c93c313d0167d887 (patch) | |
tree | 3e012f97a9c3ecf98e348690f82dae0d58ec0155 /src/lib | |
parent | 6.2.1-nightly.33 [skip ci] (diff) | |
download | ferdium-app-011e73f24f8ae15091d41781c93c313d0167d887.tar.gz ferdium-app-011e73f24f8ae15091d41781c93c313d0167d887.tar.zst ferdium-app-011e73f24f8ae15091d41781c93c313d0167d887.zip |
Convert LoginScreen component tree to typescript (#721)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Form.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Form.ts b/src/lib/Form.ts index 14ea82948..ca96406e7 100644 --- a/src/lib/Form.ts +++ b/src/lib/Form.ts | |||
@@ -1,7 +1,12 @@ | |||
1 | import Form from 'mobx-react-form'; | 1 | import Form from 'mobx-react-form'; |
2 | import vjf from 'mobx-react-form/lib/validators/VJF'; | 2 | import vjf from 'mobx-react-form/lib/validators/VJF'; |
3 | import { FormFields } from '../@types/mobx-form.types'; | ||
3 | 4 | ||
4 | export default class DefaultForm extends Form { | 5 | export default class DefaultForm extends Form { |
6 | constructor(fields: FormFields) { | ||
7 | super(fields); | ||
8 | } | ||
9 | |||
5 | bindings() { | 10 | bindings() { |
6 | return { | 11 | return { |
7 | default: { | 12 | default: { |