Skip to content

Add OrAll type#1378

Merged
sindresorhus merged 27 commits intosindresorhus:mainfrom
salisbury-espinosa:feat/append-OrMultiple
Mar 18, 2026
Merged

Add OrAll type#1378
sindresorhus merged 27 commits intosindresorhus:mainfrom
salisbury-espinosa:feat/append-OrMultiple

Conversation

@salisbury-espinosa
Copy link
Contributor

@salisbury-espinosa salisbury-espinosa commented Mar 14, 2026

Perhaps it would be ideal to create an analogue of AllExtend - AtLeastOneExtend
and then OrMultiple<T> => AtLeastOneExtend<T, true> just like we can do now AndMultiple, for example
AndMultiple<T extends readonly boolean[]> = AllExtend<T, true>;

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants