The latest published `types/Actions.d.ts` is not same as `types/index.d.ts` .
LumaKernel opened this issue · comments
yarn build
command doesn't reflect all files difference if there exists built files.
In actual, the type Action
definition of published version redux-zero@5.1.7/types/Actions.d.ts (linking to npm-explorer) is not including Promise<...>
, while the file on master
have that.
I tested building locally and realize that some files are not updated when the old files built are remained.
I couldn't find the cause; I met rollup for the first time.
I want you to fix this and re-publish.
Thank you.
Oh, sorry, updating is correctly working. I misunderstand something. However, the latest file is still not published.
Ok, I got it. The file types/Actions.d.ts
is copied from types/index.d.ts
in your publishing cycle ?
Below is working properly.
import { BoundActions } from "redux-zero/types";
But document (README.md) is saying to use redux-zero/types/Actions
so I think two options, to rewrite README.md or to set it up to copy automatically in yarn build
.