Skip to content
#

object-database

Here are 26 public repositories matching this topic...

rgazelot
rgazelot commented Jan 6, 2021

Hello, I'm trying to type my application which is using redux-orm. I came across an issue with the new createSelector API. My code is as simple as:

import { createSelector } from 'redux-orm'
import orm from 'features/regulation/orm'

export const selectTest = createSelector(orm.Policy)

The error I get is that

Expected 2-9 arguments, but got 1.ts(2554)
redux.d.ts(87, 

Improve this page

Add a description, image, and links to the object-database topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the object-database topic, visit your repo's landing page and select "manage topics."

Learn more