Skip to content

Commit de8eb7c

Browse files
committed
Merge pull request #2554 from zspitz/ExtensibleActiveXObject
Allows extending ActiveXObject with with specialized overloads returning...
2 parents 5330db6 + 4d0aa58 commit de8eb7c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/scriptHost.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
/// Windows Script Host APIS
55
/////////////////////////////
66

7-
declare var ActiveXObject: { new (s: string): any; };
7+
8+
interface ActiveXObject {
9+
new (s: string): any;
10+
}
11+
declare var ActiveXObject: ActiveXObject;
812

913
interface ITextWriter {
1014
Write(s: string): void;

0 commit comments

Comments
 (0)