Skip to content

Commit

Permalink
mel.splice -> mel.variadic
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jan 29, 2024
1 parent 9f771a0 commit e9d57c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Webapi/Dom/Webapi__Dom__DomTokenList.re
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ type t = Dom.domTokenList;
[@mel.send.pipe: t] [@mel.return nullable]
external item: int => option(string) = "item";
[@mel.send.pipe: t] external add: string => unit = "add";
[@mel.send.pipe: t] [@mel.splice]
[@mel.send.pipe: t] [@mel.variadic]
external addMany: array(string) => unit = "add";
[@mel.send.pipe: t] external contains: string => bool = "contains";
/* entries: iterator API, should have language support */
[@mel.send.pipe: t]
external forEach: ((string, int) => unit) => unit = "forEach";
/* keys: iterator API, should have language support */
[@mel.send.pipe: t] external remove: string => unit = "remove";
[@mel.send.pipe: t] [@mel.splice]
[@mel.send.pipe: t] [@mel.variadic]
external removeMany: array(string) => unit = "remove";
[@mel.send.pipe: t] external replace: (string, string) => unit = "replace"; /* experimental */
[@mel.send.pipe: t] external supports: string => bool = "supports"; /* experimental, Content Management Level 1 */
Expand Down

0 comments on commit e9d57c5

Please sign in to comment.