CI: add TS indentation check via esLint (#24810)
This commit is contained in:
parent
414ee51975
commit
208ce4e774
118 changed files with 457 additions and 489 deletions
|
|
@ -24,7 +24,7 @@ const DemoForm = () => {
|
|||
},
|
||||
})
|
||||
|
||||
const name = useStore(form.store, state => state.values.name)
|
||||
const name = useStore(form.store, state => state.values.name)
|
||||
|
||||
return (
|
||||
<form
|
||||
|
|
|
|||
|
|
@ -70,10 +70,10 @@ export type GetValuesOptions = {
|
|||
needCheckValidatedValues?: boolean
|
||||
}
|
||||
export type FormRefObject = {
|
||||
getForm: () => AnyFormApi
|
||||
getFormValues: (obj: GetValuesOptions) => {
|
||||
values: Record<string, any>
|
||||
isCheckValidated: boolean
|
||||
}
|
||||
getForm: () => AnyFormApi
|
||||
getFormValues: (obj: GetValuesOptions) => {
|
||||
values: Record<string, any>
|
||||
isCheckValidated: boolean
|
||||
}
|
||||
}
|
||||
export type FormRef = ForwardedRef<FormRefObject>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue