diff --git a/packages/json-schema/src/global.d.ts b/packages/json-schema/src/global.d.ts index 8abe0dbf903..6a869154622 100644 --- a/packages/json-schema/src/global.d.ts +++ b/packages/json-schema/src/global.d.ts @@ -1,5 +1,5 @@ +/// import * as Types from './types' - declare global { namespace Formily.Schema { export { Types } diff --git a/packages/react/src/global.d.ts b/packages/react/src/global.d.ts index 8472dfc9e52..184468c973e 100644 --- a/packages/react/src/global.d.ts +++ b/packages/react/src/global.d.ts @@ -1,5 +1,6 @@ +/// +/// import * as Types from './types' - declare global { namespace Formily.React { export { Types }