Closed aikoven closed 6 years ago
Travis is complaining this:
tests/index.ts (146,18): Cannot invoke an expression whose type lacks a call signature. Type 'ActionCreator<Failure<{ foo: string; }, any>>' has no compatible call signatures. (2349)
Are you sure that the test is correct?
The mentioned test line https://github.com/aikoven/typescript-fsa/blob/7d2b11df281974f14c37b01bb4f7e39b35407383/tests/index.ts#L146 doesn't seem correct to me because the type for errors is specified as {bar: string} (on line 129), but the test line passes in a string.
{bar: string}
@suutari-ai Fixed in another commit
Travis is complaining this:
Are you sure that the test is correct?
The mentioned test line https://github.com/aikoven/typescript-fsa/blob/7d2b11df281974f14c37b01bb4f7e39b35407383/tests/index.ts#L146 doesn't seem correct to me because the type for errors is specified as
{bar: string}
(on line 129), but the test line passes in a string.