From 0ff61c79938e2f62df848e52bbb35927f45cc8ef Mon Sep 17 00:00:00 2001 From: Amgad Naiem Date: Tue, 30 Aug 2016 10:17:12 +0200 Subject: [PATCH] added support of using custom parent function --- angular-breadcrumb/angular-breadcrumb.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angular-breadcrumb/angular-breadcrumb.d.ts b/angular-breadcrumb/angular-breadcrumb.d.ts index 7df33ddef5..b9df64e366 100644 --- a/angular-breadcrumb/angular-breadcrumb.d.ts +++ b/angular-breadcrumb/angular-breadcrumb.d.ts @@ -14,7 +14,7 @@ declare namespace angular.ui { /** * Override the parent state (only for the breadcrumb) **/ - parent?: string; + parent?: string|Function; /** * When defined to true, the state is never included in the chain of states and never appears in the breadcrumb **/ @@ -76,4 +76,4 @@ declare namespace ncy { **/ getLastStep(): angular.ui.IState; } -} \ No newline at end of file +}