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
Uh oh!
There was an error while loading. Please reload this page.
-
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