fix unable to transfer file
This commit is contained in:
@@ -74,7 +74,7 @@ export class NotificationOptions {
|
||||
"subtitle"?: string;
|
||||
"body"?: string;
|
||||
"categoryId"?: string;
|
||||
"data"?: { [_: string]: any };
|
||||
"data"?: { [_ in string]?: any };
|
||||
|
||||
/** Creates a new NotificationOptions instance. */
|
||||
constructor($$source: Partial<NotificationOptions> = {}) {
|
||||
|
||||
@@ -41,7 +41,7 @@ export function GetSavePath(): $CancellablePromise<string> {
|
||||
return $Call.ByID(4081533263);
|
||||
}
|
||||
|
||||
export function GetTrusted(): $CancellablePromise<{ [_: string]: string }> {
|
||||
export function GetTrusted(): $CancellablePromise<{ [_ in string]?: string }> {
|
||||
return $Call.ByID(800326956).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
|
||||
@@ -40,7 +40,7 @@ export class Peer {
|
||||
* Routes 记录了设备的 IP 地址和状态。
|
||||
* Key: ip, Value: *RouteState
|
||||
*/
|
||||
"routes": { [_: string]: RouteState | null };
|
||||
"routes": { [_ in string]?: RouteState | null };
|
||||
|
||||
/**
|
||||
* Port 是文件传输服务的监听端口。
|
||||
|
||||
Reference in New Issue
Block a user