Skip to content

Commit

Permalink
fix(menu): clear typing for NbMenuItem pathMatch property (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram Ceulemans authored and yggg committed Jul 16, 2019
1 parent 14b9a10 commit 49bea48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/theme/components/menu/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 49bea48

Please sign in to comment.