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 };