mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Reinstated Phantom interface.
This commit is contained in:
Vendored
+4
-2
@@ -5,7 +5,9 @@
|
||||
|
||||
declare function require(module: string): any;
|
||||
|
||||
declare var phantom: {
|
||||
declare var phantom: Phantom;
|
||||
|
||||
interface Phantom {
|
||||
|
||||
// Properties
|
||||
args: string[]; // DEPRECATED
|
||||
@@ -28,7 +30,7 @@ declare var phantom: {
|
||||
|
||||
// Callbacks
|
||||
onError: (msg: string, trace: string[]) => any;
|
||||
};
|
||||
}
|
||||
|
||||
interface System {
|
||||
pid: number;
|
||||
|
||||
Reference in New Issue
Block a user