don't instantiate

This commit is contained in:
Moon Man 2024-01-28 06:15:26 -05:00
parent 308c2a323c
commit c472873975
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@ let termBin: Buffer;
const fakeWrite = () => undefined;
process.stdout.write = fakeWrite as any;
class Port extends Duplex {
export class Port extends Duplex {
constructor() {
super({ objectMode: true });
}
@ -52,4 +52,3 @@ class Port extends Duplex {
}
}
export const port = new Port();