Update TypeScript API

- allow state params definitions as an array or object
- add missing reloadOnSearch field
- simplify ITypedState interface
- fix a whitespace consistency issue
Merge pull request #1522 from adidahiya/tsd

fix(typescript): Update TypeScript API