fix(adb): mark options optional

This commit is contained in:
Simon Chan 2023-04-10 23:15:28 +08:00
parent 701f4d821e
commit 5cbf7639af
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
2 changed files with 4 additions and 4 deletions

View file

@ -21,8 +21,8 @@ export interface AdbSyncPushV1Options {
socket: AdbSyncSocket;
filename: string;
file: ReadableStream<Consumable<Uint8Array>>;
type: LinuxFileType;
permission: number;
type?: LinuxFileType;
permission?: number;
mtime?: number;
packetSize?: number;
}

View file

@ -33,8 +33,8 @@ export function dirname(path: string): string {
export interface AdbSyncWriteOptions {
filename: string;
file: ReadableStream<Consumable<Uint8Array>>;
type: LinuxFileType;
permission: number;
type?: LinuxFileType;
permission?: number;
mtime?: number;
dryRun?: boolean;
}