Skip to content

ui-router-server / fetch / DelegateState

Type Alias: DelegateState<K, Decls> ​

ts
type DelegateState<K, Decls> = string extends Decls["name"] ? string : Extract<Decls, {
  delegate: K;
}>["name"];

Defined in: fetch.ts:98

The states that name delegate key K: string for an untyped router.

Type Parameters ​

Type ParameterDefault type
K extends stringstring
Decls extends RouteDeclarationRouteDeclaration