Skip to content

'BigInt' is not defined. #1436

Closed
standard/eslint-config-standard
#156
@LinusU

Description

What version of this package are you using?

14.3.1

What operating system, Node.js, and npm version?

macOS 10.14.6
Node.js 12.10.0
npm 6.11.3

What happened?

I had the following code:

buffer.writeBigUInt64LE(BigInt(createdAt.getTime()), 0)

Got the following error:

'BigInt' is not defined.

This was mentioned as fixed in 14.1.0 here: #1378 (comment)

What did you expect to happen?

No error

Are you willing to submit a pull request to fix this bug?

Yes

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions