diff --git a/Resources/js/router.ts b/Resources/js/router.ts index 1cf9492..c83bf98 100644 --- a/Resources/js/router.ts +++ b/Resources/js/router.ts @@ -1,5 +1,5 @@ export interface RouteDefaults { - [index: string]: string | null; + [index: string]: string | number | null; } export interface RouteRequirements { diff --git a/Resources/ts/router.d.ts b/Resources/ts/router.d.ts index 400e219..7036ff2 100644 --- a/Resources/ts/router.d.ts +++ b/Resources/ts/router.d.ts @@ -1,5 +1,5 @@ export interface RouteDefaults { - [index: string]: string | null; + [index: string]: string | number | null; } export interface RouteRequirements { [index: string]: string;