xdenser / node-firebird-libfbclient

Firebird SQL binding
MIT License
82 stars 34 forks source link

fix: return `this` for `destroy` and `end` #125

Closed danielroe closed 2 years ago

danielroe commented 2 years ago

For consistency with Node readable stream implementation, destroy() and end() should likely return this - https://nodejs.org/api/stream.html#readabledestroyerror

Context: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/57473