Typing group of custom components #12573
Unanswered
mrc-bsllt
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a number of components that I dynamically render via
<component />
anddefineAsyncComponent()
. All these components have the same props, emit and defineExpose in common. How do I indicate this type of component in the main file with typescript without importing all of them?Something like:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions