aikoven / typescript-fsa-redux-saga

TypeScript FSA utilities for redux-saga
MIT License
61 stars 4 forks source link

Update dependencies #8

Closed mu29 closed 6 years ago

mu29 commented 6 years ago

Update redux-saga dependency to 1.0.0-beta.2 to prevent issue below:

TS2345: Argument of type '(params: SignInParams) => IterableIterator<Effect>' is not assignable to parameter of type '(params: SignInParams, arg1: {}, arg2: {}, arg3: {}, ...rest: any[]) => IterableIterator<TakeEffect | RootEffect | ChannelTakeEffect<any> | PutEffect<any> | ChannelPutEffect<any> | AllEffect | ... 12 more ... | Effect[]> | Promise<...>'.
  Type 'IterableIterator<Effect>' is not assignable to type 'IterableIterator<TakeEffect | RootEffect | ChannelTakeEffect<any> | PutEffect<any> | ChannelPutEffect<any> | AllEffect | RaceEffect | CallEffect | CpsEffect | ForkEffect | JoinEffect | ... 7 more ... | Effect[]> | Promise<...>'.
    Type 'IterableIterator<Effect>' is not assignable to type 'IterableIterator<TakeEffect | RootEffect | ChannelTakeEffect<any> | PutEffect<any> | ChannelPutEffect<any> | AllEffect | RaceEffect | CallEffect | CpsEffect | ForkEffect | JoinEffect | ... 7 more ... | Effect[]>'.
      Type 'Effect' is not assignable to type 'TakeEffect | RootEffect | ChannelTakeEffect<any> | PutEffect<any> | ChannelPutEffect<any> | AllEffect | RaceEffect | CallEffect | CpsEffect | ForkEffect | JoinEffect | ... 7 more ... | Effect[]'.
        Type 'TakeEffect' is not assignable to type 'TakeEffect | RootEffect | ChannelTakeEffect<any> | PutEffect<any> | ChannelPutEffect<any> | AllEffect | RaceEffect | CallEffect | CpsEffect | ForkEffect | JoinEffect | ... 7 more ... | Effect[]'.
          Type 'TakeEffect' is not assignable to type 'Effect[]'.
aikoven commented 6 years ago

Thanks, will make a release shortly.

aikoven commented 6 years ago

Just released v1.1.1.