method default.DuplexOptions.destroyDuplexOptions.destroy(this: Duplex,error: Error | null,callback: (error?: Error | null) => void,): voidDeprecatedParametersthis: Duplexerror: Error | nullcallback: (error?: Error | null) => voidReturn Typevoid