Closed AmirL closed 1 year ago
export type FormApi in index.d.ts is missing 3 properties described in docs.
I've fixed it by extending it, but I think it would be right to add it to "index.d.ts"
interface FormApiFixed extends FormApi { disable: () => void; enable: () => void; fieldExists: (fieldName: string) => boolean; } const formApi: FormApiFixed = formApiRef.current;
Ok I have fixed this and published a new version thanks!
export type FormApi in index.d.ts is missing 3 properties described in docs.
I've fixed it by extending it, but I think it would be right to add it to "index.d.ts"