@transifex/native 7.1.1 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,7 +46,7 @@ declare module '@transifex/native' {
46
46
  }
47
47
 
48
48
  interface ITranslationPolicy {
49
- handle(sourceString: string, localeCode: string): string;
49
+ handle(sourceString: string, localeCode: string, params: ITranslateParams): string;
50
50
  }
51
51
 
52
52
  interface IErrorPolicy {
@@ -124,7 +124,7 @@ declare module '@transifex/native' {
124
124
  }
125
125
 
126
126
  export class PseudoTranslationPolicy implements ITranslationPolicy {
127
- handle(sourceString: string, _localeCode: string): string;
127
+ handle(sourceString: string, _localeCode: string, _params: ITranslateParams): string;
128
128
  }
129
129
 
130
130
  export class SourceErrorPolicy implements IErrorPolicy {
@@ -132,7 +132,7 @@ declare module '@transifex/native' {
132
132
  }
133
133
 
134
134
  export class SourceStringPolicy implements ITranslationPolicy {
135
- handle(sourceString: string, _localeCode: string): string;
135
+ handle(sourceString: string, _localeCode: string, _params: ITranslateParams): string;
136
136
  }
137
137
 
138
138
  export class ThrowErrorPolicy implements IErrorPolicy {