summaryrefslogtreecommitdiff
path: root/js/test/Common/ControllerI.d.ts
blob: 4b0ccc5e8c7a9a791d26640982dcbd598ccf983b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export class DOMElement
{
    val(value:string):string;
    scrollTop():void;
}

export class Output
{
    constructor(output:DOMElement);
    write(msg:string):void;
    writeLine(msg:string):void;
    get():string;
    clear():void;
}

export default class ControllerHelper
{
    constructor(exe:string, output:Output);

    serverReady(ex?:Error):void;
    waitReady():PromiseLike<void>;

    write(msg:string):void;
    writeLine(msg:string):void;
}