Skip to content

Commit

Permalink
fix(types): fix global.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jun 18, 2021
1 parent 63b9fdd commit df8561d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/json-schema/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="@formily/core" />
import * as Types from './types'

declare global {
namespace Formily.Schema {
export { Types }
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="@formily/core" />
/// <reference types="@formily/json-schema" />
import * as Types from './types'

declare global {
namespace Formily.React {
export { Types }
Expand Down

0 comments on commit df8561d

Please sign in to comment.