Brooooooklyn / snappy

Fastest Snappy compression library in Node.js
MIT License
166 stars 10 forks source link

Make typescript return type of uncompress function Buffer if asBuffer: true #157

Open hornta opened 1 year ago

hornta commented 1 year ago

it would be nice if typescript knew the return type is Buffer when I pass asBuffer: true.

meteorlxy commented 9 months ago

117