瀏覽代碼

ts: fix interface

taoqf 7 年之前
父節點
當前提交
a07784da12
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      types/index.d.ts

+ 4 - 1
types/index.d.ts

@@ -369,7 +369,10 @@ export namespace core {
 		id: string;
 		isPaused: boolean;
 		isRemote: boolean;
-		meta: { name: "00300068088_64c66e75.zip", type: "application/zip" }
+		meta: {
+			name: string;
+			type: string;
+		};
 		name: string;
 		preview: string;
 		progress: {