kriszyp / msgpackr

Ultra-fast MessagePack implementation with extension for record and structural cloning / msgpack.org[JavaScript/NodeJS]
MIT License
479 stars 51 forks source link

fix: function declaration in `index.d.ts` file #115

Closed imranbarbhuiya closed 1 year ago

imranbarbhuiya commented 1 year ago

Previous interface was throwing node_modules/msgpackr/index.d.ts:10:24 - error TS1385: Function type notation must be parenthesized when used in a union type.

kriszyp commented 1 year ago

Thank you for the PR!

kriszyp commented 1 year ago

Published in 1.9.4.