Skip to content

Commit

Permalink
fix incorrect name
Browse files Browse the repository at this point in the history
  • Loading branch information
david-plugge committed Jan 18, 2024
1 parent 2ebb944 commit 7fd7228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type SelectWithExpand<Collection extends GenericCollection> =
};
};

export type ResolveSimpleSelect<
export type ResolveSelect<
TCollection extends GenericCollection,
TSelect extends Select<TCollection> | undefined
> = undefined extends TSelect
Expand All @@ -36,7 +36,7 @@ export type ResolveSelectWithExpand<
TCollection extends GenericCollection,
TSelect extends Select<TCollection> | undefined
> = Prettify<
ResolveSimpleSelect<TCollection, TSelect> &
ResolveSelect<TCollection, TSelect> &
('expand' extends keyof TSelect
? {
expand: {
Expand Down

0 comments on commit 7fd7228

Please sign in to comment.