File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ declare module '@sveltejs/kit' {
22
22
type AwaitedPropertiesUnion < input extends Record < string , any > | void > = input extends void
23
23
? undefined // needs to be undefined, because void will break intellisense
24
24
: input extends Record < string , any >
25
- ? {
25
+ ? {
26
26
[ key in keyof input ] : Awaited < input [ key ] > ;
27
- }
28
- : { } extends input // handles the any case
29
- ? input
30
- : unknown ;
27
+ }
28
+ : { } extends input // handles the any case
29
+ ? input
30
+ : unknown ;
31
31
32
32
export type AwaitedProperties < input extends Record < string , any > | void > =
33
33
AwaitedPropertiesUnion < input > extends Record < string , any >
@@ -50,8 +50,8 @@ declare module '@sveltejs/kit' {
50
50
type UnpackValidationError < T > = T extends ActionFailure < infer X >
51
51
? X
52
52
: T extends void
53
- ? undefined // needs to be undefined, because void will corrupt union type
54
- : T ;
53
+ ? undefined // needs to be undefined, because void will corrupt union type
54
+ : T ;
55
55
56
56
/**
57
57
* This object is passed to the `adapt` function of adapters.
You can’t perform that action at this time.
0 commit comments