(entry: FileSystemFileEntry)
| 356 | } |
| 357 | |
| 358 | function getEntryFile(entry: FileSystemFileEntry): Promise<File> { |
| 359 | return new Promise((resolve, reject) => entry.file(resolve, reject)); |
| 360 | } |
| 361 | |
| 362 | /** Returns whether a drop item contains text data. */ |
| 363 | export function isTextDropItem(dropItem: DropItem): dropItem is TextDropItem { |