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
I tried to add our first mapOf test, which failed. While mapOf(ImmutablePropTypes.record) fails, I can pass mapContains with the same data. Yes, I checked wheter there are any non-records in the map - there are none.
When I put the Records in a List instead, it works fine with listOf(ImmutablePropTypes.record).
It's just mapOf that fails with the following message (library is the name of the property I check). Invalid argument 'library[0]' of type 'array' supplied to 'Nav', expected 'Record'
The text was updated successfully, but these errors were encountered:
This issue is a duplicate of #53, which a few forks already fixed a year ago. Apparently this repo is dead, so if anyone reads this, just replace your dependency with a fork by executing
I tried to add our first mapOf test, which failed. While
mapOf(ImmutablePropTypes.record)
fails, I can passmapContains
with the same data. Yes, I checked wheter there are any non-records in the map - there are none.Example:
When I put the Records in a List instead, it works fine with
listOf(ImmutablePropTypes.record)
.It's just mapOf that fails with the following message (library is the name of the property I check).
Invalid argument 'library[0]' of type 'array' supplied to 'Nav', expected 'Record'
The text was updated successfully, but these errors were encountered: