Home / Type/ MapSources Type — vue Architecture

MapSources Type — vue Architecture

Architecture documentation for the MapSources type/interface in apiWatch.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  7a09ebd9_acd7_c5c6_4351_c5ed17292879["MapSources"]
  e5380f01_49bc_d965_1141_151fb5c6c097["apiWatch.ts"]
  7a09ebd9_acd7_c5c6_4351_c5ed17292879 -->|defined in| e5380f01_49bc_d965_1141_151fb5c6c097
  style 7a09ebd9_acd7_c5c6_4351_c5ed17292879 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/v3/apiWatch.ts lines 35–45

type MapSources<T, Immediate> = {
  [K in keyof T]: T[K] extends WatchSource<infer V>
    ? Immediate extends true
      ? V | undefined
      : V
    : T[K] extends object
    ? Immediate extends true
      ? T[K] | undefined
      : T[K]
    : never
}

Defined In

Frequently Asked Questions

What is the MapSources type?
MapSources is a type/interface in the vue codebase, defined in src/v3/apiWatch.ts.
Where is MapSources defined?
MapSources is defined in src/v3/apiWatch.ts at line 35.

Analyze Your Own Codebase

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

Try Supermodel Free