diff --git a/src/global.d.ts b/src/global.d.ts index 3634775..979d722 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -6,6 +6,4 @@ declare module 'moment' { } export = moment export as namespace moment -} - -declare module '@goodrequest/antd-form-fields' \ No newline at end of file +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 1e9ed2b..c6cab15 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,8 @@ dayjs.extend(utcPlugin) dayjs.extend(timezonePlugin) dayjs.extend(minMax) +declare module '@goodrequest/antd-form-fields' + export { default as CheckboxField } from './atoms/CheckboxField' export { default as CheckboxGroupField } from './atoms/CheckboxGroupField' export { default as DateField } from './atoms/DateField'