fix(typescript): Fix strictNullCheck type error
fix(typescript): Fix strictNullCheck type error

Closes https://github.com/ui-router/core/issues/33
Closes https://github.com/angular-ui/ui-router/issues/3499

ui-router/core,ui-router/core