Skip to content

Commit

Permalink
fix(project): fix typings (#669)
Browse files Browse the repository at this point in the history
* fix(project): fix typings

* fix(project): fix typings
  • Loading branch information
janryWang committed Feb 22, 2020
1 parent 9ecbe17 commit bf5a09e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
7 changes: 5 additions & 2 deletions packages/antd/src/index.tsx
Expand Up @@ -51,14 +51,17 @@ import {
pickFormItemProps,
pickNotFormItemProps
} from './shared'
import { SchemaForm } from './components'
import { SchemaForm, Form, Field } from './components'
export * from './adaptor'
export * from './components'
export * from './context'
export * from './types'
export * from './hooks/useFormTableQuery'
export * from './types'

export {
SchemaForm,
Form,
Field,
SchemaMarkupField,
InternalField,
InternalVirtualField,
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/src/types.ts
Expand Up @@ -14,7 +14,7 @@ import {
} from '@formily/react-schema-renderer'
import { PreviewTextConfigProps } from '@formily/react-shared-components'
import { StyledComponent } from 'styled-components'
export * from '@formily/react-schema-renderer/src/types'
export * from '@formily/react-schema-renderer'

type ColSpanType = number | string

Expand Down
7 changes: 5 additions & 2 deletions packages/next/src/index.tsx
Expand Up @@ -52,14 +52,17 @@ import {
pickFormItemProps,
pickNotFormItemProps
} from './shared'
import { SchemaForm } from './components'
import { SchemaForm, Field, Form } from './components'
export * from './adaptor'
export * from './components'
export * from './context'
export * from './types'
export * from './hooks/useFormTableQuery'
export * from './types'

export {
SchemaForm,
Form,
Field,
SchemaMarkupField,
InternalField,
InternalVirtualField,
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/types.ts
Expand Up @@ -12,7 +12,7 @@ import {
} from '@formily/react-schema-renderer'
import { PreviewTextConfigProps } from '@formily/react-shared-components'
import { StyledComponent } from 'styled-components'
export * from '@formily/react-schema-renderer/src/types'
export * from '@formily/react-schema-renderer'

type ColSpanType = number | string

Expand Down
2 changes: 1 addition & 1 deletion packages/react-schema-renderer/src/types.ts
Expand Up @@ -12,7 +12,7 @@ import {
} from '@formily/react'
import { ValidatePatternRules } from '@formily/validator'
import { Schema } from './shared/schema'
export * from '@formily/react/src/types'
export * from '@formily/react'

export interface ISchemaFieldProps {
path?: FormPathPattern
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/types.ts
Expand Up @@ -17,7 +17,7 @@ import {
} from '@formily/core'
import { FormPathPattern } from '@formily/shared'
import { Observable } from 'rxjs/internal/Observable'
export * from '@formily/core/src/types'
export * from '@formily/core'

export interface IFormEffect<Payload = any, Actions = any> {
(
Expand Down

0 comments on commit bf5a09e

Please sign in to comment.