File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ // This file is auto-generated by `cargo test`. Do not edit manually.
2+
13export type Task = {
24 /**
35 * The command to run for the task.
Original file line number Diff line number Diff line change @@ -236,15 +236,20 @@ impl UserRunConfig {
236236 Self :: visit_dependencies ( & mut collector) ;
237237
238238 // Sort declarations for deterministic output order
239- collector. 0 . sort ( ) ;
239+ collector. decls . sort ( ) ;
240+
241+ // Header
242+ let mut types: String =
243+ "// This file is auto-generated by `cargo test`. Do not edit manually.\n \n " . into ( ) ;
240244
241245 // Export all types
242- let mut types : String = collector
246+ let dep_types : String = collector
243247 . decls
244248 . iter ( )
245249 . map ( |decl| vite_str:: format!( "export {decl}" ) )
246250 . collect :: < Vec < _ > > ( )
247251 . join ( "\n \n " ) ;
252+ types. push_str ( & dep_types) ;
248253
249254 // Export the main type
250255 types. push_str ( "\n \n export " ) ;
You can’t perform that action at this time.
0 commit comments