Open ghoshorn opened 1 week ago
Do you really need the CommonLetsFormProps
? This is the common one, you might want to import the framework specific one, like
import { LetsFormReactAntdProps } from 'lets-form/react-antd';
See here
@guidone Yes, LetsFormReactAntdProps
also works for me. But
import LetsForm, { LetsFormReactAntdProps, LetsFormSchemaReactAntd } from 'lets-form/react-antd'
also gives me the error TS2614: Module "lets-form/ react-antd" has no exported member LetsFormReactAntdProps
Found that interface in lets-form/react-antd.d.ts
can be imported. But cannot import from the definitions/*
when I using
import { CommonLetsFormProps } from 'lets-form/definitions/common'
it will give error:ESLint: Unable to resolve path to module 'lets-form/ definitions/ common'.(import/ no-unresolved
Could you please export this kind of types as well? Thanks.