Skip to content

Commit

Permalink
feat(types): export DefineComponent
Browse files Browse the repository at this point in the history
close #12748
  • Loading branch information
yyx990803 committed Aug 18, 2022
1 parent f0057b1 commit 80d1baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -41,7 +41,7 @@ export * from './v3-setup-helpers'

export { Data } from './common'
export { SetupContext } from './v3-setup-context'
export { defineComponent } from './v3-define-component'
export { defineComponent, DefineComponent } from './v3-define-component'
export { defineAsyncComponent } from './v3-define-async-component'
export {
SetupFunction,
Expand Down
2 changes: 1 addition & 1 deletion types/v3-define-component.d.ts
Expand Up @@ -20,7 +20,7 @@ import { Data, HasDefined } from './common'
import { EmitsOptions } from './v3-setup-context'
import { CreateElement, RenderContext } from './umd'

type DefineComponent<
export type DefineComponent<
PropsOrPropOptions = {},
RawBindings = {},
D = {},
Expand Down

0 comments on commit 80d1baf

Please sign in to comment.