初始化
This commit is contained in:
7
typings/appium-base-driver/index.d.ts
vendored
Normal file
7
typings/appium-base-driver/index.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { DeviceSettings } from './lib/basedriver/device-settings';
|
||||
|
||||
export class server {}
|
||||
|
||||
export class BaseDriver {}
|
||||
|
||||
export { DeviceSettings };
|
||||
8
typings/appium-base-driver/lib/basedriver/device-settings.d.ts
vendored
Normal file
8
typings/appium-base-driver/lib/basedriver/device-settings.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export class DeviceSettings {
|
||||
constructor(
|
||||
defaultSettings: Record<string, any>,
|
||||
onSettingsUpdate?: (name: string, newValue: any, oldValue: any) => Promise<void>,
|
||||
);
|
||||
public update(newSettings: Record<string, any>): Promise<void>;
|
||||
public getSettings(): Record<string, any>;
|
||||
}
|
||||
Reference in New Issue
Block a user