mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-18 11:25:43 +08:00
fix phantom/phantom-tests.ts
This commit is contained in:
1 parent
ddd6e9a855
commit
eb6ccff48c
1 file changed
+1
-3
@@ -117,7 +117,7 @@ phantom.create((ph) => {
|
||||
var finishedFunc = (result: any) => {
|
||||
ph.exit();
|
||||
};
|
||||
page.evaluate(someFunc, finishedFunc, 'div', {wahtt: 111});
|
||||
page.evaluate<string, {wahtt: number;}, void>(someFunc, finishedFunc, 'div', {wahtt: 111});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -164,5 +164,3 @@ phantom.create((ph) => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user