Skip to content

Invalid documentation string for MAX_SAFE_INTEGER in es2015.core.d.ts #9965

@hckr

Description

@hckr

TypeScript Version: current master

Code

In src/lib/es2015.core.d.ts:

Should be:

    /**
      * The value of the largest integer n such that n and n + 1 are both exactly representable as
      * a Number value.
      * The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 − 1.
      */
readonly MAX_SAFE_INTEGER: number;

Currently is:

    /**
      * The value of the largest integer n such that n and n + 1 are both exactly representable as
      * a Number value.
      * The value of Number.MIN_SAFE_INTEGER is 9007199254740991 2^53 − 1.
      */
readonly MAX_SAFE_INTEGER: number;

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions