schema not found in 'normalizr'

80 Views Asked by At

I have a React + Redux + Saga + TypeScript application. I'm trying to add normalizr to it. Version from package.json "normalizr": "^3.6.1",

When I try to import schema

import { normalize, schema } from "normalizr";

I get

schema not found in 'normalizr'

What I tried to do:

  • Add "typeRoots": ["node_modules/@types"] to tsconfig file (original post)

Any ideas how to fix it?

0

There are 0 best solutions below