ui-router-server / ui-router-server / ResponseState
Type Alias: ResponseState<Decls>
ts
type ResponseState<Decls> = string extends Decls["name"] ? string : Extract<Decls, {
response: true;
}>["name"];Defined in: index.ts:276
The names of a router's response states: string for an untyped router.
Type Parameters
| Type Parameter | Default type |
|---|---|
Decls extends RouteDeclaration | RouteDeclaration |