[BUG] Upgrading from 4.48.0 to 4.49.0 break TypeScript imports in @refinedev/core
#5827
Labels
bug
Something isn't working
Milestone
Describe the bug
After an upgrade to 4.49.0, TypeScript is not able to figure out the imports:
Module '"@refinedev/core"' has no exported member 'useTranslate'.ts(2305)
.So far, in my codebase, the following elements are not being processed by TypeScript:
The following elements seems to be imported correctly by TypeScript:
Steps To Reproduce
I'll have to detail it more later on if needed. I am using a Nx workspace.
import { Authenticated, useLogin, useTranslate } from "@refinedev/core";
Expected behavior
Imports work as they did in 4.48.0.
Packages
Additional Context
I suspect #5755 is the pull that introduced that behavior.
When running vite to serve, everything works fine. So I guess my
serve
by-pass typechecking in some way 🤷🏼.This is what my
tsconfig.json
looks like (at least, when at the Nxtsconfig
are merged).The text was updated successfully, but these errors were encountered: