Skip to content

Commit

Permalink
fix: typo on index.d.ts (#5284)
Browse files Browse the repository at this point in the history
i18n.dir should be i18n.dirs
  • Loading branch information
zhennann committed Jan 10, 2024
1 parent f5454ba commit 17ee60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -449,7 +449,7 @@ declare module 'egg' {
/**
* i18n resource file dir, not recommend to change default value
*/
dir: string;
dirs: string[];
/**
* custom the locale value field, default `query.locale`, you can modify this config, such as `query.lang`
*/
Expand Down

0 comments on commit 17ee60b

Please sign in to comment.