Skip to content

Commit cf3a62d

Browse files
committed
Revert changes regarding bs-platform upgrade
1 parent 8f4ad1c commit cf3a62d

File tree

6 files changed

+12
-872
lines changed

6 files changed

+12
-872
lines changed

bsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"reason": { "react-jsx": 3 },
44
"sources": [
55
{"dir": "src", "subdirs": true},
6-
{ "dir": "test", "type": "dev", "subdirs": true }
6+
{ "dir": "test", "type": "dev" }
77
],
88
"package-specs": [{ "module": "commonjs", "in-source": true }],
99
"suffix": ".bs.js",
1010
"refmt": 3,
11+
"bs-dev-dependencies": ["reason-test-framework"],
1112
"bsc-flags": ["-bs-no-version-header"]
1213
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@
3030
},
3131
"homepage": "https://reasonml.github.io/reason-react/",
3232
"devDependencies": {
33-
"bs-platform": "9.0.2",
33+
"bs-platform": "^7.3.1",
3434
"jest": "^26.0.1",
3535
"react": "^16.8.1",
36-
"react-dom": "^16.8.1"
36+
"react-dom": "^16.8.1",
37+
"reason-test-framework": "^0.3.2"
3738
},
3839
"peerDependencies": {
39-
"bs-platform": "^9.0.2",
40+
"bs-platform": "^7.1.1",
4041
"react": "^16.8.1",
4142
"react-dom": "^16.8.1"
4243
},

src/React.re

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ module SuspenseList = {
160160
external makeProps:
161161
(
162162
~children: element=?,
163-
~revealOrder: [ | `forwards | `backwards | `together]=?,
164-
~tail: [ | `collapsed | `hidden]=?,
163+
~revealOrder: [@bs.string] [ | `forwards | `backwards | `together]=?,
164+
~tail: [@bs.string] [ | `collapsed | `hidden]=?,
165165
unit
166166
) =>
167167
{

0 commit comments

Comments
 (0)