Home / Type/ CustomEventMap Type — vite Architecture

CustomEventMap Type — vite Architecture

Architecture documentation for the CustomEventMap type/interface in event.d.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  b65e86a3_4909_b887_e359_fb5873e72535["CustomEventMap"]
  0b6596df_5a77_e0b2_845b_122170e1b8e5["event.d.ts"]
  b65e86a3_4909_b887_e359_fb5873e72535 -->|defined in| 0b6596df_5a77_e0b2_845b_122170e1b8e5
  style b65e86a3_4909_b887_e359_fb5873e72535 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/hmr-ssr/event.d.ts lines 4–8

  interface CustomEventMap {
    'custom:foo': { msg: string }
    'custom:remote-add': { a: number; b: number }
    'custom:remote-add-result': { result: string }
  }

Frequently Asked Questions

What is the CustomEventMap type?
CustomEventMap is a type/interface in the vite codebase, defined in playground/hmr-ssr/event.d.ts.
Where is CustomEventMap defined?
CustomEventMap is defined in playground/hmr-ssr/event.d.ts at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free