Skip to content

Commit

Permalink
fix(types): fix route type definitions for different languages (DIYgo…
Browse files Browse the repository at this point in the history
  • Loading branch information
nczitzk authored Dec 13, 2024
1 parent 6446448 commit a5deeb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit a5deeb3

Please sign in to comment.