We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5110e56 + 8f11128 commit f1f1eccCopy full SHA for f1f1ecc
1 file changed
packages/native/src/index.d.ts
@@ -115,6 +115,8 @@ declare module '@transifex/native' {
115
translate(sourceString: string, params?: ITranslateParams): string;
116
117
translateLocale(localeCode: string, sourceString: string, params?: ITranslateParams): string;
118
+
119
+ t(sourceString: string, params?: ITranslateParams): string;
120
}
121
122
export class MessageFormatRenderer implements IMessageFormatRenderer {
@@ -165,7 +167,7 @@ declare module '@transifex/native' {
165
167
localeCode: string;
166
168
169
- export function createNativeInstance(initOptions: ITranslationConfig): TxNative;
170
+ export function createNativeInstance(initOptions?: ITranslationConfig): TxNative;
171
172
export function escape(unsafe: string): string;
173
0 commit comments