Skip to content

Commit

Permalink
Merge pull request #1344 from MichielDeMey/patch-1
Browse files Browse the repository at this point in the history
Add missing `cleanCode` option to TypeScript def
  • Loading branch information
jamuhl committed Oct 23, 2019
2 parents bcb2211 + fd5dcff commit 7020ed1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ declare namespace i18next {
*/
lowerCaseLng?: boolean;

/**
* Language will be lowercased EN --> en while leaving full locales like en-US
* @default false
*/
cleanCode?: boolean;

/**
* String or array of namespaces to load
* @default 'translation'
Expand Down

0 comments on commit 7020ed1

Please sign in to comment.