fix(typings): Add comment property#72
fix(typings): Add comment property#72patrickhulce merged 2 commits intojpeg-js:masterfrom ffflorian:patch-1
Conversation
|
Thanks @ffflorian. New to typescript, good to know that is needed. |
patrickhulce
left a comment
There was a problem hiding this comment.
thanks very much @ffflorian!
I think we should augment the decode return types with this though since encode won't do anything with the comments
maybe just & {comment?: string} onto the decode return type declarations?
|
@patrickhulce good idea. But the question is: does |
Depends on your definition of "accept" :) It won't throw an error, but it won't do anything at all with them either. Their existence of |
Yes, that totally makes sense! I'll update my PR later :) |
|
@patrickhulce PR updated :) |
patrickhulce
left a comment
There was a problem hiding this comment.
oof, I'm so sorry @ffflorian but I had a typo in my original suggestion.
with these suggestions it looks great though! :)
After #71 was merged, the typings were not updated.
cc @sparticvs