mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 22:38:33 +08: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