Versent / redux-crud

A set of standard actions and reducers for Redux CRUD Applications
MIT License
624 stars 54 forks source link

Exclude dist in tsconfig / Generic type for record #55

Closed harscoet closed 7 years ago

harscoet commented 7 years ago
  1. Build fails because dist directory is not exclude from compilation (and d.ts declarations files are typescript files)

  2. Generic type in actionCreatorsFor is usefull for typescript users. I exposed your "types" in index file to be able to use them to type some variables in user code. In addition I added a simple "Record" interface with all default constants used in reducers. Record interface can't be used in internal code because constants are configurable.

capture d ecran 2017-04-11 a 12 48 23 capture d ecran 2017-04-11 a 12 47 52
sporto commented 7 years ago

Thanks