• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by Mark DS


19 Dec, 2024

Updated at 27 Dec, 2024

Typing group of custom components

I have a number of components that I dynamically render via and defineAsyncComponent(). 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: