File tree Expand file tree Collapse file tree 4 files changed +20
-20
lines changed
Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 4949 "jsdom" : " 22.1.0" ,
5050 "jsdom-global" : " 3.0.2" ,
5151 "lint-staged" : " 15.0.2" ,
52- "prettier" : " 3.0.3 " ,
52+ "prettier" : " 3.1.0 " ,
5353 "reflect-metadata" : " 0.1.13" ,
5454 "rollup" : " 4.3.0" ,
5555 "tslib" : " 2.6.2" ,
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ export function mount<
3838 C = T extends ( ( ...args : any ) => any ) | ( new ( ...args : any ) => any )
3939 ? T
4040 : T extends { props ?: infer Props }
41- ? DefineComponent <
42- Props extends Readonly < ( infer PropNames ) [ ] > | ( infer PropNames ) [ ]
43- ? { [ key in PropNames extends string ? PropNames : string ] ?: any }
44- : Props
45- >
46- : DefineComponent ,
41+ ? DefineComponent <
42+ Props extends Readonly < ( infer PropNames ) [ ] > | ( infer PropNames ) [ ]
43+ ? { [ key in PropNames extends string ? PropNames : string ] ?: any }
44+ : Props
45+ >
46+ : DefineComponent ,
4747 P extends ComponentProps < C > = ComponentProps < C >
4848> (
4949 originalComponent : T ,
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ export function renderToString<
99 C = T extends ( ( ...args : any ) => any ) | ( new ( ...args : any ) => any )
1010 ? T
1111 : T extends { props ?: infer Props }
12- ? DefineComponent <
13- Props extends Readonly < ( infer PropNames ) [ ] > | ( infer PropNames ) [ ]
14- ? { [ key in PropNames extends string ? PropNames : string ] ?: any }
15- : Props
16- >
17- : DefineComponent
12+ ? DefineComponent <
13+ Props extends Readonly < ( infer PropNames ) [ ] > | ( infer PropNames ) [ ]
14+ ? { [ key in PropNames extends string ? PropNames : string ] ?: any }
15+ : Props
16+ >
17+ : DefineComponent
1818> (
1919 originalComponent : T ,
2020 options ?: ComponentMountingOptions < C > &
You can’t perform that action at this time.
0 commit comments