Closed
Description
Search terms
typedoc vue functional component properties documentation
Question
While declaring a functional vue 3 component, the return type is lost.
export const HelloWorldFunctionalComponent: FunctionalComponent<HelloWorldProps, HelloWorldEvents> =
(props: HelloWorldProps, ctx) => {
return h('div')
}
I want to be able to grab FunctionalComponent<HelloWorldProps, HelloWorldEvents>
as a reflection declaration. is this possible?
I want to automatically convert a functional component to a class with its properties. grab HelloWorldProps
type, and add its properties to HelloWorldFunctionalComponent
reflection as a class.
My base working env is typedoc-plugin-vue repo.
Please let me know if I'm not clear enough and thanks.