Skip to content
masterclass Buddy

Vue.js · Concept

Options API

Use defineComponent() for TypeScript inference in Vue Options API components. Use PropType for complex object props and typed callback props.

Last updated

Syntax

defineComponent({ props: { ... } })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • defineComponent
  • PropType
  • provide
  • inject
  • extends
  • mixins

Source: TypeScript with Options API | Vue.js. Checked 2026-11-03.