From f2a15b50caad4cd41f3999755f41794a5f15c7c3 Mon Sep 17 00:00:00 2001 From: drsoft28 Date: Mon, 14 Apr 2025 16:23:29 +0100 Subject: [PATCH] Update index.d.ts : add property type?: 'href' | 'route' add property to BreadcrumbItem NavItem --- resources/js/types/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/js/types/index.d.ts b/resources/js/types/index.d.ts index 8a53a5a4..8f71780e 100644 --- a/resources/js/types/index.d.ts +++ b/resources/js/types/index.d.ts @@ -9,11 +9,13 @@ export interface Auth { export interface BreadcrumbItem { title: string; href: string; + type?: 'href' | 'route'; } export interface NavItem { title: string; href: string; + type?: 'href' | 'route'; icon?: LucideIcon; isActive?: boolean; }