TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Type for `DataTransferItem.kind` is broader than implied by spec
The type for the kind field on DataTransferItem is currently string however the spec suggests the more narrow literal type of "string" | "file". Possible also including the empty string.
DataTransferItem.kind (HTML Drag and Drop) Returns the drag data item kind, one of: "string", "file".
Happy to open a PR if this is a desired change :thumbsup: Cheers!