borisyankov/DefinitelyTyped — pull request #3167 by panuhorsmalahti (2014-11-18 07:34:29+00:00)
Title: Fix the params type in angular-ui-router

The params type was updated in angular-ui.

See the API documentation here:
http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$stateProvider

It changed from an array to an object. I don't see a better way to express the type until TypeScript gets union types.

I also added a test for it.