Skip to content

vue/require-typed-object-prop

enforce adding type declarations to object props

  • 💡 Some problems reported by this rule are manually fixable by editor suggestions.

📖 Rule Details

Prevent missing type declarations for non-primitive object props in TypeScript projects.

Now loading...

🔧 Options

Nothing.

🔇 When Not To Use It

When you're not using TypeScript in the project.

🚀 Version

This rule was introduced in eslint-plugin-vue v9.16.0

🔍 Implementation