aimedb/decoder.ts: Drop options param
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { Transform } from "stream";
|
||||
|
||||
export class Decoder extends Transform {
|
||||
constructor(options) {
|
||||
constructor() {
|
||||
super({
|
||||
readableObjectMode: true,
|
||||
writableObjectMode: true,
|
||||
...options,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export function setup(socket) {
|
||||
new Decoder({})
|
||||
);
|
||||
|
||||
const output = new Encoder({});
|
||||
const output = new Encoder();
|
||||
|
||||
pipeline(
|
||||
output,
|
||||
|
||||
Reference in New Issue
Block a user