Skip to content

ui-router-server / fetch / PageState

Type Alias: PageState<Decls> ​

ts
type PageState<Decls> = Decls extends {
  delegate: string;
} ? never : Decls extends {
  url: string;
} ? Decls : never;

Defined in: fetch.ts:178

The states of Decls that can answer with the shell: a url and no delegate.

Type Parameters ​

Type ParameterDefault type
Decls extends RouteDeclarationRouteDeclaration