Skip to content

Commit 0bac05b

Browse files
Deprecate js_cast.resi (#7074)
1 parent 5b9d693 commit 0bac05b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# 11.1.5 (Unreleased)
1414

1515
- Deprecate JSX 3 https://github.com/rescript-lang/rescript-compiler/pull/7042
16+
- Deprecate js_cast.res https://github.com/rescript-lang/rescript-compiler/pull/7074
1617

1718
# 11.1.4
1819

jscomp/others/js_cast.res

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* along with this program; if not, write to the Free Software
2323
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
2424

25+
@@deprecated("This module is not supported anymore and will be removed in the next major version.")
26+
2527
external intOfBool: bool => int = "%identity"
2628

2729
external floatOfInt: int => float = "%identity"

jscomp/others/js_cast.resi

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ If for any reason, the runtime representation changes, those function
3737
will be modified accordingly.
3838
*/
3939

40+
@@deprecated("This module is not supported anymore and will be removed in the next major version.")
41+
4042
/**
4143
`intOfBool(b)` returns `1` for when `b` is `true` and `0` when `b` is `false`
4244
*/

0 commit comments

Comments
 (0)