File tree Expand file tree Collapse file tree
test/__snapshots__/tsnapi/@vitejs/devtools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- export { DevToolsIntegration , runDevTools } from './node/plugins/integration'
2- export type { DevToolsIntegrationOptions } from './node/plugins/integration'
1+ import {
2+ DevToolsIntegration as _DevToolsIntegration ,
3+ runDevTools as _runDevTools ,
4+ } from './node/plugins/integration'
5+
6+ export interface DevToolsIntegrationOptions {
7+ config : unknown
8+ }
9+
10+ export function DevToolsIntegration ( options : DevToolsIntegrationOptions ) : { name : string } {
11+ return _DevToolsIntegration ( options as Parameters < typeof _DevToolsIntegration > [ 0 ] )
12+ }
13+
14+ export function runDevTools ( builder : unknown ) : Promise < void > {
15+ return _runDevTools ( builder )
16+ }
Original file line number Diff line number Diff line change 33 */
44// #region Interfaces
55export interface DevToolsIntegrationOptions {
6- config : ResolvedConfig ;
6+ config : unknown ;
77}
88// #endregion
99
1010// #region Functions
11- export declare function DevToolsIntegration ( _ : DevToolsIntegrationOptions ) : Plugin ;
11+ export declare function DevToolsIntegration ( _ : DevToolsIntegrationOptions ) : {
12+ name : string ;
13+ } ;
1214export declare function runDevTools ( _ : unknown ) : Promise < void > ;
1315// #endregion
Original file line number Diff line number Diff line change 33 */
44// #region Functions
55export function DevToolsIntegration ( _ ) { }
6- export async function runDevTools ( _ ) { }
6+ export function runDevTools ( _ ) { }
77// #endregion
You can’t perform that action at this time.
0 commit comments