mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Merge pull request #2554 from zspitz/ExtensibleActiveXObject
Allows extending ActiveXObject with with specialized overloads returning...
This commit is contained in:
6
src/lib/scriptHost.d.ts
vendored
6
src/lib/scriptHost.d.ts
vendored
@@ -4,7 +4,11 @@
|
||||
/// Windows Script Host APIS
|
||||
/////////////////////////////
|
||||
|
||||
declare var ActiveXObject: { new (s: string): any; };
|
||||
|
||||
interface ActiveXObject {
|
||||
new (s: string): any;
|
||||
}
|
||||
declare var ActiveXObject: ActiveXObject;
|
||||
|
||||
interface ITextWriter {
|
||||
Write(s: string): void;
|
||||
|
||||
Reference in New Issue
Block a user