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 Parameter | Default type |
|---|---|
K extends string | string |
Decls extends RouteDeclaration | RouteDeclaration |