diff --git a/BufferList.d.ts b/BufferList.d.ts index 1561583..4a694ed 100644 --- a/BufferList.d.ts +++ b/BufferList.d.ts @@ -205,6 +205,42 @@ interface BufferList { readFloatLE: Buffer['readFloatLE']; + /** + * All of the standard byte-reading methods of the Buffer interface are implemented and will operate across internal Buffer boundaries transparently. + * See the [Buffer](http://nodejs.org/docs/latest/api/buffer.html) documentation for how these work. + * + * @param offset + */ + + readBigInt64BE: Buffer['readBigInt64BE']; + + /** + * All of the standard byte-reading methods of the Buffer interface are implemented and will operate across internal Buffer boundaries transparently. + * See the [Buffer](http://nodejs.org/docs/latest/api/buffer.html) documentation for how these work. + * + * @param offset + */ + + readBigInt64LE: Buffer['readBigInt64LE']; + + /** + * All of the standard byte-reading methods of the Buffer interface are implemented and will operate across internal Buffer boundaries transparently. + * See the [Buffer](http://nodejs.org/docs/latest/api/buffer.html) documentation for how these work. + * + * @param offset + */ + + readBigUInt64BE: Buffer['readBigUInt64BE']; + + /** + * All of the standard byte-reading methods of the Buffer interface are implemented and will operate across internal Buffer boundaries transparently. + * See the [Buffer](http://nodejs.org/docs/latest/api/buffer.html) documentation for how these work. + * + * @param offset + */ + + readBigUInt64LE: Buffer['readBigUInt64LE']; + /** * All of the standard byte-reading methods of the Buffer interface are implemented and will operate across internal Buffer boundaries transparently. * See the [Buffer](http://nodejs.org/docs/latest/api/buffer.html) documentation for how these work. diff --git a/package.json b/package.json index 92a08e3..dfdfafe 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "standard *.js test/*.js", "test": "npm run lint && npm run test:types && node test/test.js | faucet", "test:ci": "npm run lint && node test/test.js && npm run test:types", - "test:types": "tsc --allowJs --noEmit test/test.js", + "test:types": "tsc --target esnext --moduleResolution node --allowJs --noEmit test/test.js", "build": "true" }, "repository": {