版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
341 B

  1. import * as vite from 'vite';
  2. import { HmrContext } from 'vite';
  3. declare function transformSetupSFC(code: string, id: string): {
  4. code: string;
  5. map: any;
  6. } | undefined;
  7. declare function hotUpdateSetupSFC({ modules }: HmrContext, filter: (id: unknown) => boolean): vite.ModuleNode[];
  8. export { hotUpdateSetupSFC, transformSetupSFC };