Skip to content

Commit eb859be

Browse files
committed
Allow toggleForced to force false
1 parent 7f2cf0a commit eb859be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Webapi/Dom/Webapi__Dom__DomTokenList.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type t = Dom.domTokenList
1414
@send external replace: (t, string, string) => unit = "replace" /* experimental */
1515
@send external supports: (t, string) => bool = "supports" /* experimental, Content Management Level 1 */
1616
@send external toggle: (t, string) => bool = "toggle"
17-
@send external toggleForced: (t, string, @as(json`true`) _) => bool = "toggle"
17+
@send external toggleForced: (t, string, bool) => bool = "toggle"
1818
@send external toString: t => string = "toString"
1919
/* values: iterator API, should have language support */
2020

0 commit comments

Comments
 (0)