UNPKG

ui-router

Version:

State-based routing for Javascript

18 lines (15 loc) 573 B
/** @module resolve */ /** for typedoc */ import {Resolvable} from "./resolvable"; export interface Resolvables { [key: string]: Resolvable; } export interface IOptions1 { omitOwnLocals ?: string[]; resolvePolicy ?: string; } // Defines the available policies and their ordinals. export enum ResolvePolicy { JIT, // JIT resolves are resolved just-in-time, right before an injected function that depends on them is invoked. LAZY, // Lazy resolves are resolved before their state is entered. EAGER // Eager resolves are resolved before the transition starts. }