Skip to content

Commit dd56a1b

Browse files
Merge pull request #49 from telerik/tachev/fix-typings
fix: fix typings after introducing waitForDebugger
2 parents f0164c9 + 8a7d299 commit dd56a1b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ios-device-lib",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "",
55
"types": "./typings/ios-device-lib.d.ts",
66
"main": "index.js",

typings/interfaces.d.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ declare global {
4949
interface IDeleteFileData extends IAppDevice, IDestination {
5050
}
5151

52-
interface IDdiApplicationData extends IAppDevice {
52+
interface IIOSApplicationData extends IAppDevice {
5353
ddi: string;
54+
waitForDebugger?: string;
5455
}
5556

5657
interface IPostNotificationData extends IDeviceId {
@@ -139,8 +140,8 @@ declare global {
139140
postNotification(postNotificationArray: IPostNotificationData[]): Promise<IDeviceResponse>[];
140141
awaitNotificationResponse(awaitNotificationResponseArray: IAwaitNotificatioNResponseData[]): Promise<IDeviceResponse>[];
141142
apps(deviceIdentifiers: string[]): Promise<IDeviceAppInfo>[];
142-
start(startArray: IDdiApplicationData[]): Promise<IDeviceResponse>[];
143-
stop(stopArray: IDdiApplicationData[]): Promise<IDeviceResponse>[];
143+
start(startArray: IIOSApplicationData[]): Promise<IDeviceResponse>[];
144+
stop(stopArray: IIOSApplicationData[]): Promise<IDeviceResponse>[];
144145
startDeviceLog(deviceIdentifiers: string[]): void;
145146
connectToPort(connectToPortArray: IConnectToPortData[]): Promise<IConnectToPortResponse>[];
146147
dispose(signal?: string): void;

0 commit comments

Comments
 (0)