IFilterPropsOptions

interface
Utilities & Internals

Generic utility interface — binds a props options descriptor to its extracted Props type and provides a filterProps() helper that strips props not belonging to a given sub-component. Used internally by useProps().

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

props
required
PropsOptions
The raw Vue props options descriptor (record of PropType / validator objects).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Using useProps() which returns IFilterPropsOptions

typescript