method internal.DuplexOptions.constructDuplexOptions.construct(this: Duplex,callback: (error?: Error | null) => void,): voidDeprecatedParametersthis: Duplexcallback: (error?: Error | null) => voidReturn Typevoid