From a5deeb3729330bffcb6dfe0c65d3d4e0263ea059 Mon Sep 17 00:00:00 2001 From: Ethan Shen <42264778+nczitzk@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:23:13 +0800 Subject: [PATCH] fix(types): fix route type definitions for different languages (#17888) --- lib/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 77fe770e827f8c..859c7ed850d65b 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -247,9 +247,9 @@ interface RouteItem { } interface Route extends RouteItem { - ja?: NamespaceItem; - zh?: NamespaceItem; - 'zh-TW'?: NamespaceItem; + ja?: RouteItem; + zh?: RouteItem; + 'zh-TW'?: RouteItem; } export type { Route };