import { IStream } from "../../src/stream/stream.i";

export class StreamBuilder {

    public build(): IStream {
        return <IStream> {
            writeLine: (message: string) => { }
        };
    }

}

import { IStream } from "../../src/stream/stream.i";

export class StreamBuilder {

    public build(): IStream {
        return <IStream> {
            writeLine: (message: string) => { },
            write: (message: string) => { },
            moveCursor: (x: number, y: number) => { },
            cursorTo: (x: number, y: number) => { },
            clearLine: () => { }
        };
    }

}

Add new methods to StreamBuilders
Add new methods to StreamBuilders
