Skip to content

Commit

Permalink
Add missing cleanCode option to TypeScript def
Browse files Browse the repository at this point in the history
This PR adds the missing `cleanCode` option to the `initOptions` in the TypeScript definition.
  • Loading branch information
MichielDeMey committed Oct 23, 2019
1 parent bcb2211 commit fd5dcff
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 fd5dcff

Please sign in to comment.