-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
The current declaration for the WScript object is missing some members:
interface ITextReader {
//incomplete
Read(characters: number): string;
ReadAll(): string;
Close(): void;
}
declare var WScript: {
Echo(s: any): void;
StdErr: ITextWriter;
StdOut: ITextWriter;
Arguments: { length: number; Item(n: number): string; };
ScriptFullName: string;
Quit(exitCode?: number): number;
//missing members:
BuildVersion: number;
FullName: string,
Interactive: boolean;
Name: string;
Path: string;
StdInL ITextReader;
Version: string;
ConnectObject(objEventSource: any, strPrefix: string): void;
CreateObject(strProgID: string, strPrefix?: string): any;
DisconnectObject(obj: any): void;
GetObject(strPathname: string, strProgID?: string, strPrefix: string): any;
Sleep(intTime: number): void;
}
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this