require type definitions in emits
- 💡 Some problems reported by this rule are manually fixable by editor suggestions.
📖 Rule Details
This rule enforces that a
emits statement contains type definition.
emits with types can bring better maintenance. Even if using with TypeScript, this can provide better type inference when annotating parameters with types.
📚 Further Reading
This rule was introduced in eslint-plugin-vue v7.10.0