Skip to content

Commit

Permalink
Make typescript typing happy again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
thoom76 committed Jul 16, 2024
1 parent a4d5f0f commit 79d1adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ type EntityFieldFromType<T extends OneField> = T['type'] extends ArrayConstructo

type ArrayItemType<T extends OneField> = T extends {items: OneField}
? EntityField<T['items']>
: EntityFieldFromType<T>
: any
/*
Select the required properties from a model
*/
Expand Down

0 comments on commit 79d1adf

Please sign in to comment.