Skip to content

Commit

Permalink
fix: Simplify types for langs
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Nov 12, 2024
1 parent 36e3548 commit 848a790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export type DocAnalytics = {
};

export interface AppProps {
lang: Lang;
langs: Lang[];
lang: `${Lang}`;
langs: `${Lang}`[];
router: RouterConfig;
search?: SearchConfig;
analytics?: DocAnalytics;
Expand Down

0 comments on commit 848a790

Please sign in to comment.