fix(typings): Use StateObject for parameter to hook criteria functions
fix(typings): Use StateObject for parameter to hook criteria functions

Closes https://github.com/ui-router/core/issues/80

ui-router/core,ui-router/core