mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-16 02:24:33 +00:00
Encoding can be disabled by calling readable.setEncoding(null). https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding Typescript v2.* has strictNullChecks which prevents passing null to setEncoding https://www.typescriptlang.org/docs/release-notes/typescript-2.0.html