mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
fix phantom/phantom-tests.ts
This commit is contained in:
@@ -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