Skip to content

Commit 74ab69f

Browse files
committed
regenerate types
1 parent 89ca4af commit 74ab69f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: packages/kit/types/index.d.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ declare module '@sveltejs/kit' {
2222
type AwaitedPropertiesUnion<input extends Record<string, any> | void> = input extends void
2323
? undefined // needs to be undefined, because void will break intellisense
2424
: input extends Record<string, any>
25-
? {
25+
? {
2626
[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;
3131

3232
export type AwaitedProperties<input extends Record<string, any> | void> =
3333
AwaitedPropertiesUnion<input> extends Record<string, any>
@@ -50,8 +50,8 @@ declare module '@sveltejs/kit' {
5050
type UnpackValidationError<T> = T extends ActionFailure<infer X>
5151
? X
5252
: 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;
5555

5656
/**
5757
* This object is passed to the `adapt` function of adapters.

0 commit comments

Comments
 (0)