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
  bb596252_965a_3420_6618_eb28dec16b07["CustomEventMap"]
  473e1aff_ca34_db87_9f12_810f9d7842cd["event.d.ts"]
  bb596252_965a_3420_6618_eb28dec16b07 -->|defined in| 473e1aff_ca34_db87_9f12_810f9d7842cd
  style bb596252_965a_3420_6618_eb28dec16b07 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/hmr/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/event.d.ts.
Where is CustomEventMap defined?
CustomEventMap is defined in playground/hmr/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