Skip to content

typings: add typing for string decoder

This PR adds some JSDoc typings for internal/string_decoder.

Screenshots from my VS code:

normalizeEncoding Screen Shot 2021-04-13 at 23 35 26

StringDecoder Screen Shot 2021-04-13 at 23 36 31

StringDecoder.prototype.write Screen Shot 2021-04-13 at 23 37 00

StringDecoder.prototype.end Screen Shot 2021-04-13 at 23 38 24

StringDecoder.prototype.text Screen Shot 2021-04-13 at 23 37 34

Merge request reports

Loading