From 49bea48beda0f299f74d197e613321c537350993 Mon Sep 17 00:00:00 2001 From: Bram Ceulemans Date: Tue, 16 Jul 2019 11:12:06 -0700 Subject: [PATCH] fix(menu): clear typing for NbMenuItem pathMatch property (#1627) --- src/framework/theme/components/menu/menu.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/theme/components/menu/menu.service.ts b/src/framework/theme/components/menu/menu.service.ts index 421513ec6c..2238689c11 100644 --- a/src/framework/theme/components/menu/menu.service.ts +++ b/src/framework/theme/components/menu/menu.service.ts @@ -77,7 +77,7 @@ export class NbMenuItem { * Item is selected when partly or fully equal to the current url * @type {string} */ - pathMatch?: string = 'full'; + pathMatch?: 'full' | 'prefix' = 'full'; /** * Where this is a home item * @type {boolean}