Home / Type/ ShortcutsState Type — vite Architecture

ShortcutsState Type — vite Architecture

Architecture documentation for the ShortcutsState type/interface in shortcuts.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  e3c090b5_ba55_0042_67f9_f7028119c97e["ShortcutsState"]
  ed89bdb5_1269_0bd7_7665_244657588aa2["shortcuts.ts"]
  e3c090b5_ba55_0042_67f9_f7028119c97e -->|defined in| ed89bdb5_1269_0bd7_7665_244657588aa2
  style e3c090b5_ba55_0042_67f9_f7028119c97e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/shortcuts.ts lines 9–12

export type ShortcutsState<Server = ViteDevServer | PreviewServer> = {
  rl: readline.Interface
  options: BindCLIShortcutsOptions<Server>
}

Frequently Asked Questions

What is the ShortcutsState type?
ShortcutsState is a type/interface in the vite codebase, defined in packages/vite/src/node/shortcuts.ts.
Where is ShortcutsState defined?
ShortcutsState is defined in packages/vite/src/node/shortcuts.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free