版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 regels
391 B

  1. import File from '../file/File';
  2. /**
  3. *
  4. */
  5. export default class DataTransferItem {
  6. readonly kind: string;
  7. readonly type: string;
  8. private _item;
  9. /**
  10. * Constructor.
  11. *
  12. * @param item Item.
  13. */
  14. constructor(item: string | File);
  15. /**
  16. * Returns file.
  17. */
  18. getAsFile(): File;
  19. /**
  20. * Returns string.
  21. */
  22. getAsString(): string;
  23. }