Typescript Fsa Versions Save

Type-safe action creator utilities

v3.0.0

4 years ago

v3.0.0-beta-2

6 years ago
  • Fix type errors when trying to call action creators with unknown (generic) payload type (#56).
  • Update docs, add JSDoc comments.

v3.0.0-beta-1

6 years ago
  • Support skipping params and result of type void in Async Action Creators. Requires TypeScript 2.8.
const async = actionCreator.async<void, {bar: string}>('ASYNC');

// skipping argument
const started = async.started();
// skipping `params`
const done = async.done({result: {bar: 'bar'}});
const async = actionCreator.async<{foo: string}, void>('ASYNC');

// skipping `result`
const done = async.done({params: {foo: 'foo'}});

v2.5.0

6 years ago
  • Add ActionCreator#match method for single-argument type guard (#42)

v2.4.0

6 years ago
yield take(myActionCreator)

instead of

yield take(myActionCreator.type)

v2.3.0

6 years ago

v2.2.0

6 years ago

Revert breaking change introduced in 2.1.0

v2.1.0

7 years ago
  • support payload-less async action creator #15

DEPRECATED

This release breaks async action creators with payload.

v2.0.0

7 years ago

Renamed package to typescript-fsa and decoupled from Redux (https://github.com/aikoven/typescript-fsa/issues/12).

v1.3.0

7 years ago

v1.3.0 (2017-02-07)

  • 1.3.0 (d3a7e97)
  • fix: fix dependencies (12f331a)
  • feat: add bindAsyncAction helper for redux-saga (b887e31)
  • chore: add keywords (c1cddbf)
  • chore: upgrade tslint (a022f66)
  • chore(package): update dependencies (#8) (48a82d4)
  • style: add missing trailing commas (c6819ec)