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 49
49
"jsdom" : " 22.1.0" ,
50
50
"jsdom-global" : " 3.0.2" ,
51
51
"lint-staged" : " 15.0.2" ,
52
- "prettier" : " 3.0.3 " ,
52
+ "prettier" : " 3.1.0 " ,
53
53
"reflect-metadata" : " 0.1.13" ,
54
54
"rollup" : " 4.3.0" ,
55
55
"tslib" : " 2.6.2" ,
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ export function mount<
38
38
C = T extends ( ( ...args : any ) => any ) | ( new ( ...args : any ) => any )
39
39
? T
40
40
: 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 ,
47
47
P extends ComponentProps < C > = ComponentProps < C >
48
48
> (
49
49
originalComponent : T ,
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ export function renderToString<
9
9
C = T extends ( ( ...args : any ) => any ) | ( new ( ...args : any ) => any )
10
10
? T
11
11
: 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
18
18
> (
19
19
originalComponent : T ,
20
20
options ?: ComponentMountingOptions < C > &
You can’t perform that action at this time.
0 commit comments