diff --git a/src/component/componentOptions.ts b/src/component/componentOptions.ts index 9a177382..eb8f7edb 100644 --- a/src/component/componentOptions.ts +++ b/src/component/componentOptions.ts @@ -2,7 +2,7 @@ import Vue, { VNode, ComponentOptions as Vue2ComponentOptions } from 'vue' import { Data } from './common' import { ComponentPropsOptions, ExtractPropTypes } from './componentProps' import { ComponentInstance, ComponentRenderProxy } from './componentProxy' - +export { ComponentPropsOptions } from './componentProps' export interface SetupContext { readonly attrs: Data readonly slots: Readonly<{ [key in string]?: (...args: any[]) => VNode[] }> diff --git a/src/component/index.ts b/src/component/index.ts index 86a79ee3..86484560 100644 --- a/src/component/index.ts +++ b/src/component/index.ts @@ -1,6 +1,12 @@ export { defineComponent } from './defineComponent' export { defineAsyncComponent } from './defineAsyncComponent' -export { SetupFunction, SetupContext } from './componentOptions' +export { + SetupFunction, + SetupContext, + ComputedOptions, + MethodOptions, + ComponentPropsOptions, +} from './componentOptions' export { ComponentInstance, ComponentRenderProxy } from './componentProxy' export { Data } from './common' export {