Skip to content

ui-router-mobx / TypedStoreTarget

Type Alias: TypedStoreTarget ​

ts
type TypedStoreTarget = RouteTypes extends {
  snapshot: {
     includes(stateOrName, params?): boolean;
  };
} ? T : StateOrName;

Defined in: route-types.ts:62

The other targets RouterStore.includes takes: the parameter of RouteTypes' snapshot.includes, or any StateOrName until it is filled in.