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

The latest published `types/Actions.d.ts` is not same as `types/index.d.ts` .

LumaKernel opened this issue · comments

commented

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.

commented

Oh, sorry, updating is correctly working. I misunderstand something. However, the latest file is still not published.

commented

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 .