Skip to content

Commit d4d36b8

Browse files
authored
Merge pull request #193 from rescript-lang/datatransferlist
Rename DataTransferItemList.add2 to DataTransferItemList.addFile
2 parents 52d86de + e449b4c commit d4d36b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UIEventsAPI/DataTransferItemList.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Adds a new entry for the given data to the drag data store. If the data is plain
1313
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
1414
*/
1515
@send
16-
external add2: (dataTransferItemList, file) => dataTransferItem = "add"
16+
external addFile: (dataTransferItemList, file) => dataTransferItem = "add"
1717

1818
/**
1919
Removes the indexth entry in the drag data store.

0 commit comments

Comments
 (0)