Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add context about when to use type predicates and assertion functions #3100

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

Masstronaut
Copy link

@Masstronaut Masstronaut commented May 12, 2024

Updated based on discussion in #57436

@jakebailey
Copy link
Member

"supersede" doesn't seem like the right term to me; "bypass" or "override" seem more accurate.

@Masstronaut
Copy link
Author

@jakebailey great suggestion. I wasn't thrilled with "supersede" but wasn't coming up with a better term. I think "bypass" does a much better job conveying the behavior.

Updated based on feedback from Jake Bailey
@Masstronaut Masstronaut changed the title Provide context about when to use type predicates and assertion funct… Add context about when to use type predicates and assertion functions May 12, 2024
@Masstronaut
Copy link
Author

@jakebailey anything else I need to do here? It's my first time contributing to the TS docs so I'm blissfully unaware of any other process/requirements to get this PR merged in.

@jakebailey
Copy link
Member

See #2804, we don't have much bandwidth to review all but critical changes. I wouldn't want to merge this without someone like @RyanCavanaugh or @DanielRosenwasser giving it a look.

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.

2 participants