feat(types): export DefineComponent

close #12748
This commit is contained in:
Evan You 2022-08-18 15:23:47 +08:00
parent f0057b101e
commit 80d1baf920
2 changed files with 2 additions and 2 deletions

2
types/index.d.ts vendored
View File

@ -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,

View File

@ -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 = {},