提交 81fc22ec 编写于 作者: C Christof Marti

Fix typing weirdness

上级 1d3a43c9
......@@ -25,7 +25,7 @@ export class SpectronClient {
}
public async keys(keys: string[] | string, capture: boolean = true): Promise<any> {
return this.spectron.client.keys(keys);
return Promise.resolve(this.spectron.client.keys(keys));
}
public async getText(selector: string, capture: boolean = true): Promise<any> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册