Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

BigInt support #700

Closed
damianobarbati opened this issue Oct 7, 2018 · 2 comments
Closed

BigInt support #700

damianobarbati opened this issue Oct 7, 2018 · 2 comments

Comments

@damianobarbati
Copy link

On Node 10 the following: pg.types.setTypeParser(20, value => BigInt(value));
Results into error: 'BigInt' is not defined

How to solve this?

@bradennapier
Copy link

Both Chrome and Node have now supported BigInt for some time. Would be nice if babel-eslint could parse them.

https://developers.google.com/web/updates/2018/05/bigint
https://v8.dev/blog/bigint

Node implemented in LTS version without flags as of version 10.4

@hzoo
Copy link
Member

hzoo commented Jan 11, 2019

Via #711 this should be fixed by reading from Babel config, in the next release

@hzoo hzoo closed this as completed Jan 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants