Skip to content

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
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants