# vue/require-emit-validator

require type definitions in emits

# 📖 Rule Details

This rule enforces that a emits statement contains type definition.

Declaring emits with types can bring better maintenance. Even if using with TypeScript, this can provide better type inference when annotating parameters with types.

# 🔧 Options

Nothing.

# 📚 Further Reading

# 🚀 Version

This rule was introduced in eslint-plugin-vue v7.10.0

# 🔍 Implementation

Last Updated: 11/16/2021, 12:44:57 AM