Function: buildNavigation
▸ buildNavigation<UserType
>(navigation
): Navigation
| NavigationBuilder
<UserType
>
Identity function we use to defeat the type system of Typescript and build navigation objects with all its properties
Type parameters
Name |
---|
UserType |
Parameters
Name | Type |
---|---|
navigation | Navigation | NavigationBuilder <UserType > |
Returns
Navigation
| NavigationBuilder
<UserType
>