Types not correctly exported in package.json
MDransfeld opened this issue · comments
Hey, @MDransfeld. Thank you so much for taking the time to point this out
Hi! Any plans to fix this issue? :)
I temporarily fixed this by adding the path to the tsconfig
file like this:
{
"compilerOptions": {
"paths": {
"react-router-prompt": ["node_modules/react-router-prompt/dist/index.d.ts"]
}
},
}
Thanks @sweethuman for the PR. I will take a look at it shortly.