Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encode() return type should be Buffer and not any #26

Open
sokudo opened this issue Jul 28, 2021 · 0 comments
Open

encode() return type should be Buffer and not any #26

sokudo opened this issue Jul 28, 2021 · 0 comments

Comments

@sokudo
Copy link

sokudo commented Jul 28, 2021

Documentation says: Encoded result will be returned as a Buffer object.

Parser.encode() is declared as encode(obj: any): any; in binary_parser.d.ts

Parser.encode() return type should be declared as Buffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant