Explorar el Código

Reverted changes for AddFileOptions

Dirk-Jan Wassink hace 6 años
padre
commit
00db753dbd
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      packages/@uppy/core/types/index.d.ts

+ 1 - 3
packages/@uppy/core/types/index.d.ts

@@ -40,9 +40,7 @@ export interface FailedUppyFile<TMeta extends IndexedObject<any> = {}> extends U
 }
 
 export interface AddFileOptions extends Partial<UppyFile> {
-  // `data` `name` and `type` are the only required properties here.
-  name: string;
-  type: string;
+  // `.data` is the only required property here.
   data: Blob | File;
 }