Closed
Description
tsconfig.json
my project
{
"compilerOptions": {
...
"module": "ESNext",
"moduleResolution": "Bundler",
...
}
}

I solved this problem by adding a line in package.json
"atomic-router-react" package a line with the path to the types
{
"name": "atomic-router-react",
...
"types": "dist/atomic-router.d.ts",
"exports": {
".": {
...
"types": "./dist/atomic-router.d.ts"
},
...
}
Is this the right decision or am I doing something wrong?