CustomEventMap Class — vite Architecture
Architecture documentation for the CustomEventMap class in event.d.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD ace12721_4409_165f_5cd1_3b2f85aec242["CustomEventMap"] 473e1aff_ca34_db87_9f12_810f9d7842cd["event.d.ts"] ace12721_4409_165f_5cd1_3b2f85aec242 -->|defined in| 473e1aff_ca34_db87_9f12_810f9d7842cd
Relationship Graph
Source Code
playground/hmr/event.d.ts lines 3–9
declare module 'vite/types/customEvent' {
interface CustomEventMap {
'custom:foo': { msg: string }
'custom:remote-add': { a: number; b: number }
'custom:remote-add-result': { result: string }
}
}
Defined In
Source
Frequently Asked Questions
What is the CustomEventMap class?
CustomEventMap is a class 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 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free