Skip to content

Commit

Permalink
gah
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 14, 2023
1 parent 9482505 commit 574e33f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,8 @@ declare module '@sveltejs/kit' {
export type LoadProperties<input extends Record<string, any> | void> = input extends void
? undefined // needs to be undefined, because void will break intellisense
: input extends Record<string, any>
<<<<<<< HEAD
? input
: unknown;
=======
? {
[key in keyof input]: Awaited<input[key]>;
}
: {} extends input // handles the any case
? input
: unknown;

export type AwaitedProperties<input extends Record<string, any> | void> =
AwaitedPropertiesUnion<input> extends Record<string, any>
? OptionalUnion<AwaitedPropertiesUnion<input>>
: AwaitedPropertiesUnion<input>;
>>>>>>> master

export type AwaitedActions<T extends Record<string, (...args: any) => any>> = OptionalUnion<
{
Expand Down

0 comments on commit 574e33f

Please sign in to comment.