mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-21 01:20:03 +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