Skip to content

Commit f10ca87

Browse files
committed
fix: upgrade to latest rc
1 parent f1b4a6d commit f10ca87

File tree

4 files changed

+6
-2735
lines changed

4 files changed

+6
-2735
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"url": "https://github.com/aantron"
1515
},
1616
"peerDependencies": {
17-
"rescript": ">=11.0.0-rc.4"
17+
"rescript": ">=11.0.0-rc.5"
1818
},
1919
"devDependencies": {
20-
"rescript": ">=11.0.0-rc.4"
20+
"rescript": ">=11.0.0-rc.5"
2121
},
2222
"scripts": {
2323
"build": "rescript build",

src/js/promise.res

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ function catch_(promise, callback) {
6868
};
6969
`)
7070

71-
/* Compatibility with BukleScript < 6. */
72-
type result<'a, 'e> = Belt.Result.t<'a, 'e> = Ok('a) | Error('e)
73-
7471
module Js_ = {
7572
type t<'a, 'e> = rejectable<'a, 'e>
7673

src/js/promise.resi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ let map: (promise<'a>, 'a => 'b) => promise<'b>
2727

2828
let flatMap: (promise<'a>, 'a => promise<'b>) => promise<'b>
2929

30-
/* Compatibility with BuckleScript < 6. */
31-
type result<'a, 'e> = Belt.Result.t<'a, 'e>
32-
3330
/* Results. */
3431
let getOk: (promise<result<'a, 'e>>, 'a => unit) => unit
3532

0 commit comments

Comments
 (0)