You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're passing a [1;31mReScript object[0m where a [1;33mrecord[0m is expected.
14
-
15
-
- Did you mean to pass a record instead of an object? Objects are written with quoted keys, and records with unquoted keys. Remove the quotes from the object keys to pass it as a record instead of object.
12
+
13
+
You're passing a [1;31mReScript object[0m where a [1;33mrecord[0m is expected. Objects are written with quoted keys, and records with unquoted keys.
14
+
15
+
Possible solutions:
16
+
- Rewrite the object to a record, like: [1;33m{one: true}
0 commit comments