yesmeck/redux-modal

Unable to build project after update to v2

burtek opened this issue · 3 comments

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

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

Released 2.0.1

Thanks 👍