Skip to content

Commit

Permalink
Fix ITranslateParams for native
Browse files Browse the repository at this point in the history
Remove `_inline` and `sanitize` properties. Add an index signature.
  • Loading branch information
rgant authored Feb 21, 2023
1 parent cae6cb2 commit a155036
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/native/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
declare module '@transifex/native' {
export interface ITranslateParams {
[key: string]: unknown;
_charlimit?: number;
_comment?: string;
_context?: string;
_escapeVars?: boolean;
_inline?: boolean;
_key?: string;
_tags?: string;
sanitize?: boolean;
}

export interface ITranslationServiceConfig {
Expand Down

0 comments on commit a155036

Please sign in to comment.