You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says here in the text that every value in the views object must be a Ng1ViewDeclaration. Although, in the example a string is used as well, which works. But the type for views is
views?: {[key: string]: Ng1ViewDeclaration;}
I think the type of values should be Ng1ViewDeclaration | string
Also in StateDeclaration, the return type of redirectTo currently is
although the documentation says here it can either be a RedirectToResult, or a function returning either a Promise or a RedirectToResult. So I think it should be
This is a:
My version of UI-Router is: 1.0.6
Bug Report
The documentation says here in the text that every value in the views object must be a
Ng1ViewDeclaration
. Although, in the example a string is used as well, which works. But the type for views isI think the type of values should be
Ng1ViewDeclaration | string
Also in
StateDeclaration
, the return type of redirectTo currently isalthough the documentation says here it can either be a
RedirectToResult
, or a function returning either aPromise
or aRedirectToResult
. So I think it should beSee also here in core
The text was updated successfully, but these errors were encountered: