File tree 1 file changed +31
-2
lines changed
1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,26 @@ interface ActiveXObject {
10
10
}
11
11
declare var ActiveXObject : ActiveXObject ;
12
12
13
- interface ITextWriter {
13
+ interface ITextStreamBase {
14
+ Column : number ;
15
+ Line : number ;
16
+ Close ( ) : void ;
17
+ }
18
+
19
+ interface ITextWriter extends ITextStreamBase {
14
20
Write ( s : string ) : void ;
21
+ WriteBlankLines ( intLines : number ) : void ;
15
22
WriteLine ( s : string ) : void ;
16
- Close ( ) : void ;
23
+ }
24
+
25
+ interface ITextReader extends ITextStreamBase {
26
+ Read ( characters : number ) : string ;
27
+ ReadAll ( ) : string ;
28
+ ReadLine ( ) : string ;
29
+ Skip ( characters : number ) : void ;
30
+ SkipLine ( ) : void ;
31
+ AtEndOfLine : boolean ;
32
+ AtEndOfStream : boolean ;
17
33
}
18
34
19
35
declare var WScript : {
@@ -23,4 +39,17 @@ declare var WScript: {
23
39
Arguments : { length : number ; Item ( n : number ) : string ; } ;
24
40
ScriptFullName : string ;
25
41
Quit ( exitCode ?: number ) : number ;
42
+ BuildVersion : number ;
43
+ FullName : string ;
44
+ Interactive : boolean ;
45
+ Name : string ;
46
+ Path : string ;
47
+ ScriptName : string ;
48
+ StdIn : ITextReader ;
49
+ Version : string ;
50
+ ConnectObject ( objEventSource : any , strPrefix : string ) : void ;
51
+ CreateObject ( strProgID : string , strPrefix ?: string ) : any ;
52
+ DisconnectObject ( obj : any ) : void ;
53
+ GetObject ( strPathname : string , strProgID ?: string , strPrefix ?: string ) : any ;
54
+ Sleep ( intTime : number ) : void ;
26
55
}
You can’t perform that action at this time.
0 commit comments