src: Implement BigInt support, remove nodejs 8

This commit is contained in:
Vlad Frangu 2019-05-02 13:52:55 +03:00
parent 373605e40d
commit 8d979dd8a5
No known key found for this signature in database
GPG key ID: 549A660965A303E9
5 changed files with 43 additions and 12 deletions

View file

@ -11,7 +11,7 @@
},
"main": "dist",
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"build": "del dist && tsc",
@ -80,6 +80,11 @@
"extensions": [
"ts"
],
"globals": [
"BigInt",
"BigInt64Array",
"BigUint64Array"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off"
}