Skip to content

Commit 0cdc4b0

Browse files
committed
then_ deprecated
1 parent ab7985b commit 0cdc4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/others/js_promise2.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ let catch: (promise<'a>, error => promise<'a>) => promise<'a> = %raw(`
1414
}
1515
`)
1616

17-
/** Old syntax, can use then instead */
17+
@deprecated("Use then instead")
1818
let then_ = then

0 commit comments

Comments
 (0)