Home / File/ shims.d.ts — vite Source File

shims.d.ts — vite Source File

Architecture documentation for shims.d.ts, a typescript file in the vite codebase. 1 imports, 0 dependents.

File typescript HMRClient HotRuntime 1 imports 1 functions 6 classes

Entity Profile

Dependency Diagram

graph LR
  a39246db_377c_86ed_a037_43d1177ac96a["shims.d.ts"]
  b25f1e70_c947_25cd_64b1_fae5bf4990fd["postcss"]
  a39246db_377c_86ed_a037_43d1177ac96a --> b25f1e70_c947_25cd_64b1_fae5bf4990fd
  style a39246db_377c_86ed_a037_43d1177ac96a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

declare module 'connect' {
  const connect: () => any
  export = connect
}

declare module 'cors' {
  function cors(options: any): any
  export = cors
}

declare module 'launch-editor-middleware' {
  const plugin: any
  export = plugin
}

declare module 'postcss-import' {
  import type { Plugin } from 'postcss'
  const plugin: (options: {
    resolve: (
      id: string,
      basedir: string,
      importOptions: any,
    ) => string | string[] | Promise<string | string[]>
    load: (id: string) => Promise<string>
    nameLayer: (index: number, rootFilename: string) => string
  }) => Plugin
  export = plugin
}

// eslint-disable-next-line no-var
declare var __vite_profile_session: import('node:inspector').Session | undefined
// eslint-disable-next-line no-var
declare var __vite_start_time: number | undefined

Domain

Subdomains

Functions

Dependencies

  • postcss

Frequently Asked Questions

What does shims.d.ts do?
shims.d.ts is a source file in the vite codebase, written in typescript. It belongs to the HMRClient domain, HotRuntime subdomain.
What functions are defined in shims.d.ts?
shims.d.ts defines 1 function(s): Plugin.
What does shims.d.ts depend on?
shims.d.ts imports 1 module(s): postcss.
Where is shims.d.ts in the architecture?
shims.d.ts is located at packages/vite/src/types/shims.d.ts (domain: HMRClient, subdomain: HotRuntime, directory: packages/vite/src/types).

Analyze Your Own Codebase

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

Try Supermodel Free