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

Treat BigInt type references in JSDoc as intended bigints #60863

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

Andarist
Copy link
Contributor

fixes #57953

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Dec 27, 2024
Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

LGTM but @sandersn, the guardian of JSDoc 😄

@jakebailey jakebailey requested a review from sandersn January 18, 2025 06:12
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

This is good for consistency although (1) I did a fairly recent survey that showed that usage of these synonyms is quite low in less-than-2-year-old code (2) I would hope people using the bigint type would less likely than average to confuse the wrapper type with the primitive type.

@sandersn sandersn merged commit ce73b17 into microsoft:main Jan 22, 2025
32 checks passed
@Andarist Andarist deleted the treat-BigInt-as-intended-bigint branch January 22, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Operator '<' ***CAN*** be applied to types 'number | BigInt' and 'number'
4 participants