Home / Type/ ComponentPublicInstance Type — vue Architecture

ComponentPublicInstance Type — vue Architecture

Architecture documentation for the ComponentPublicInstance type/interface in v3-component-public-instance.d.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  9958700f_b1cf_74de_0e7a_90d6ce75d97f["ComponentPublicInstance"]
  df38886e_bbcf_e056_0776_774ae98bfcbe["v3-component-public-instance.d.ts"]
  9958700f_b1cf_74de_0e7a_90d6ce75d97f -->|defined in| df38886e_bbcf_e056_0776_774ae98bfcbe
  style 9958700f_b1cf_74de_0e7a_90d6ce75d97f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/v3-component-public-instance.d.ts lines 129–165

export type ComponentPublicInstance<
  P = {}, // props type extracted from props option
  B = {}, // raw bindings returned from setup()
  D = {}, // return from data()
  C extends ComputedOptions = {},
  M extends MethodOptions = {},
  E extends EmitsOptions = {},
  PublicProps = P,
  Defaults = {},
  MakeDefaultsOptional extends boolean = false,
  Options = ComponentOptionsBase<
    any,
    any,
    any,
    any,
    any,
    any,
    any,
    any,
    any,
    any
  >
> = Vue3Instance<
  D,
  P,
  PublicProps,
  E,
  Defaults,
  MakeDefaultsOptional,
  Options
> &
  Readonly<P> &
  ShallowUnwrapRef<B> &
  UnwrapNestedRefs<D> &
  ExtractComputedReturns<C> &
  M &
  ComponentCustomProperties

Frequently Asked Questions

What is the ComponentPublicInstance type?
ComponentPublicInstance is a type/interface in the vue codebase, defined in types/v3-component-public-instance.d.ts.
Where is ComponentPublicInstance defined?
ComponentPublicInstance is defined in types/v3-component-public-instance.d.ts at line 129.

Analyze Your Own Codebase

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

Try Supermodel Free