Skip to content

Conversation

@som-sm
Copy link
Collaborator

@som-sm som-sm commented Oct 17, 2025

Adds a note regarding how to properly use the IfNotAnyOrNever type with recursive types.

@som-sm som-sm requested a review from sindresorhus October 17, 2025 19:55
@claude

This comment was marked as outdated.

: 'not found';
// Hence, instantiations with long strings will fail
type HundredZeroes = StringRepeat<'0', 100>;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This felt like the // Hence, instantiations with long strings will fail comment applies to type HundredZeroes = StringRepeat<'0', 100>; .

@som-sm som-sm force-pushed the doc/add-note-to-ifnotanyornever-type branch from 5efd6f5 to 9b7f676 Compare October 17, 2025 20:36
Repository owner deleted a comment from claude bot Oct 17, 2025
Repository owner deleted a comment from claude bot Oct 18, 2025
@sindresorhus sindresorhus merged commit 5612f64 into main Oct 18, 2025
7 checks passed
@sindresorhus sindresorhus deleted the doc/add-note-to-ifnotanyornever-type branch October 18, 2025 06:09
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.

3 participants