setEncoding(encoding: string | null) (#11635)
setEncoding(encoding: string | null) (#11635)

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
rolandzwaga/DefinitelyTyped,YousefED/DefinitelyTyped,alvarorahul/DefinitelyTyped,magny/DefinitelyTyped,subash-a/DefinitelyTyped,chrismbarr/DefinitelyTyped,schmuli/DefinitelyTyped,sledorze/DefinitelyTyped,mcrawshaw/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,markogresak/DefinitelyTyped,jimthedev/DefinitelyTyped,nycdotnet/DefinitelyTyped,martinduparc/DefinitelyTyped,amir-arad/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,magny/DefinitelyTyped,psnider/DefinitelyTyped,sledorze/DefinitelyTyped,smrq/DefinitelyTyped,georgemarshall/DefinitelyTyped,rolandzwaga/DefinitelyTyped,minodisk/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,dsebastien/DefinitelyTyped,jimthedev/DefinitelyTyped,QuatroCode/DefinitelyTyped,hellopao/DefinitelyTyped,scriby/DefinitelyTyped,AgentME/DefinitelyTyped,nycdotnet/DefinitelyTyped,progre/DefinitelyTyped,chrootsu/DefinitelyTyped,psnider/DefinitelyTyped,scriby/DefinitelyTyped,chrootsu/DefinitelyTyped,GiedriusGrabauskas/DefinitelyTyped,zuzusik/DefinitelyTyped,isman-usoh/DefinitelyTyped,alexdresko/DefinitelyTyped,schmuli/DefinitelyTyped,pocesar/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,johan-gorter/DefinitelyTyped,borisyankov/DefinitelyTyped,aciccarello/DefinitelyTyped,QuatroCode/DefinitelyTyped,pocesar/DefinitelyTyped,subash-a/DefinitelyTyped,hellopao/DefinitelyTyped,arusakov/DefinitelyTyped,alvarorahul/DefinitelyTyped,progre/DefinitelyTyped,AgentME/DefinitelyTyped,schmuli/DefinitelyTyped,arusakov/DefinitelyTyped,chrismbarr/DefinitelyTyped,use-strict/DefinitelyTyped,aciccarello/DefinitelyTyped,mcliment/DefinitelyTyped,hellopao/DefinitelyTyped,AgentME/DefinitelyTyped,martinduparc/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,georgemarshall/DefinitelyTyped,benishouga/DefinitelyTyped,micurs/DefinitelyTyped,ashwinr/DefinitelyTyped,abbasmhd/DefinitelyTyped,abbasmhd/DefinitelyTyped,shlomiassaf/DefinitelyTyped,mcrawshaw/DefinitelyTyped,ashwinr/DefinitelyTyped,martinduparc/DefinitelyTyped,YousefED/DefinitelyTyped,smrq/DefinitelyTyped,benishouga/DefinitelyTyped,alexdresko/DefinitelyTyped,benishouga/DefinitelyTyped,johan-gorter/DefinitelyTyped,arusakov/DefinitelyTyped,benliddicott/DefinitelyTyped,jimthedev/DefinitelyTyped,pocesar/DefinitelyTyped,zuzusik/DefinitelyTyped,shlomiassaf/DefinitelyTyped,aciccarello/DefinitelyTyped,georgemarshall/DefinitelyTyped,psnider/DefinitelyTyped,minodisk/DefinitelyTyped,isman-usoh/DefinitelyTyped,zuzusik/DefinitelyTyped,use-strict/DefinitelyTyped,one-pieces/DefinitelyTyped