Skip to content

Instantly share code, notes, and snippets.

@mstssk
Created February 14, 2019 03:24
Show Gist options
  • Save mstssk/c94c9663ab0a2765958a90908fcca50f to your computer and use it in GitHub Desktop.
Save mstssk/c94c9663ab0a2765958a90908fcca50f to your computer and use it in GitHub Desktop.
declare module "datatransfer-files-promise" {
export function getFilesFromDataTransferItems(
dataTransferItems: DataTransferItemList | ArrayLike<DataTransferItem>,
options?: { raw: boolean }
): Promise<File[]>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment