Skip to content

Commit f06b9e0

Browse files
vchimevvchimev
vchimev
authored and
vchimev
committed
refactor(device-controller): cast return type
1 parent 9a9fb3c commit f06b9e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/device-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
export class DeviceManger {
1616
private static _emulators: Map<string, IDevice> = new Map();
1717

18-
public static async startDevice(args: INsCapabilities) {
18+
public static async startDevice(args: INsCapabilities): Promise<IDevice> {
1919
let device: IDevice = DeviceManger.getDefaultDevice(args);
2020
if (args.isSauceLab || args.ignoreDeviceController) {
2121
return device;

0 commit comments

Comments
 (0)