@transifex/native 6.0.2 → 7.0.1

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.
@@ -115,6 +115,8 @@ declare module '@transifex/native' {
115
115
  translate(sourceString: string, params?: ITranslateParams): string;
116
116
 
117
117
  translateLocale(localeCode: string, sourceString: string, params?: ITranslateParams): string;
118
+
119
+ t(sourceString: string, params?: ITranslateParams): string;
118
120
  }
119
121
 
120
122
  export class MessageFormatRenderer implements IMessageFormatRenderer {
@@ -165,7 +167,7 @@ declare module '@transifex/native' {
165
167
  localeCode: string;
166
168
  }
167
169
 
168
- export function createNativeInstance(initOptions: ITranslationConfig): TxNative;
170
+ export function createNativeInstance(initOptions?: ITranslationConfig): TxNative;
169
171
 
170
172
  export function escape(unsafe: string): string;
171
173