Unable to build project after update to v2
burtek opened this issue · 3 comments
burtek commented
After upgrading to build 2.0.0, I'm getting error:
'redux-modal' does not contain an export named 'connectModal'
There is no index.d.ts
in package's root dir
burtek commented
Easiest solution is to add:
{
...
"main": "./lib/index.js",
"types": "./lib/index.d.ts"
}
to package.json
and re-publish package as per https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
yesmeck commented
Released 2.0.1
burtek commented
Thanks 👍