From de44e7e9a4a10a79c3cacc6c69d1dbc4e7cc7a44 Mon Sep 17 00:00:00 2001 From: HaluskaRoman Date: Wed, 19 Apr 2023 08:30:03 +0200 Subject: [PATCH] adding declaration of module --- src/global.d.ts | 4 +--- src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) 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'