Home / Type/ ComponentOptionsWithProps Type — vue Architecture

ComponentOptionsWithProps Type — vue Architecture

Architecture documentation for the ComponentOptionsWithProps type/interface in v3-component-options.d.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  fc7699c6_2b31_edf1_60e3_ed47ef9212a7["ComponentOptionsWithProps"]
  4a2ab4fa_5675_20d5_ca91_6198afde3b52["v3-component-options.d.ts"]
  fc7699c6_2b31_edf1_60e3_ed47ef9212a7 -->|defined in| 4a2ab4fa_5675_20d5_ca91_6198afde3b52
  style fc7699c6_2b31_edf1_60e3_ed47ef9212a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/v3-component-options.d.ts lines 140–176

export type ComponentOptionsWithProps<
  PropsOptions = ComponentPropsOptions,
  RawBindings = Data,
  D = Data,
  C extends ComputedOptions = {},
  M extends MethodOptions = {},
  Mixin extends ComponentOptionsMixin = ComponentOptionsMixin,
  Extends extends ComponentOptionsMixin = ComponentOptionsMixin,
  Emits extends EmitsOptions = {},
  EmitsNames extends string = string,
  Props = ExtractPropTypes<PropsOptions>,
  Defaults = ExtractDefaultPropTypes<PropsOptions>
> = ComponentOptionsBase<
  Props,
  RawBindings,
  D,
  C,
  M,
  Mixin,
  Extends,
  Emits,
  EmitsNames,
  Defaults
> & {
  props?: PropsOptions
} & ThisType<
    CreateComponentPublicInstance<
      Props,
      RawBindings,
      D,
      C,
      M,
      Mixin,
      Extends,
      Emits
    >
  >

Frequently Asked Questions

What is the ComponentOptionsWithProps type?
ComponentOptionsWithProps is a type/interface in the vue codebase, defined in types/v3-component-options.d.ts.
Where is ComponentOptionsWithProps defined?
ComponentOptionsWithProps is defined in types/v3-component-options.d.ts at line 140.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free