redux-zero / redux-zero

A lightweight state container based on Redux

Home Page:https://matheusml1.gitbooks.io/redux-zero-docs/content/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release seems to be missing types/Actions.ts

teemuandersen opened this issue · comments

Version 5.0.3 introduced types for Actions (src/types/Actions.ts). These are however missing from the builds (5.0.3, 5.0.4). This breaks type checking:

node_modules/redux-zero/utils/bindActions.d.ts:2:24 - error TS2307: Cannot find module '../types/Actions'.

@teemuandersen could you please run this locally and check if this solved your issue?

@matheusml Sorry that it took some time to respond. I was on holidays without laptop. But IMO that rollup line was part of it. But should the package.json files section contain types folder as well? I ran yarn pack and types folder was still missing.

Same for me here, types folder is missing from the package installed in node_modules. Just adding types in package.json's files should be fine to fix it.

Any update here? Just came across this.

Version 5.1.1 will have the fix. Sorry about that.