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
  e70ed211_db22_d856_decf_40dda88dea85["MapSources"]
  38aa88fe_678d_7728_4258_240bdb85b32b["apiWatch.ts"]
  e70ed211_db22_d856_decf_40dda88dea85 -->|defined in| 38aa88fe_678d_7728_4258_240bdb85b32b
  style e70ed211_db22_d856_decf_40dda88dea85 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