fix(core): ts lint issue (#16814)

This commit is contained in:
Manu MA
2018-12-19 13:18:37 +01:00
committed by GitHub
parent f613b3bdf0
commit fb380028ee

View File

@ -41,9 +41,7 @@ export interface NavOptions extends RouterOutletOptions {
viewIsReady?: (enteringEl: HTMLElement) => Promise<any>;
}
export interface Page extends Function {
new (...args: any[]): any;
}
export type Page = new (...args: any[]) => any;
export type TransitionResolveFn = (hasCompleted: boolean, requiresTransition: boolean, enteringName?: string, leavingName?: string, direction?: string) => void;