jw-ng-forward
Version:
Temporary package. The default solution for those that want to write Angular 2.x style code in Angular 1.x
9 lines (8 loc) • 351 B
TypeScript
import { Ng1StateDeclaration } from '@uirouter/angularjs';
export interface IComponentState extends Ng1StateDeclaration {
component: any;
redirectTo?: any;
}
export declare function StateConfig(stateConfigs: IComponentState[]): (t: any) => void;
export declare function Resolve(resolveName?: string): any;
export declare function Hook(): any;