TranslationSnapshot
ts
type TranslationSnapshot = object;Defined in: src/types/snapshot.type.ts:8
Represents a localizable Translation with all required properties
Since
1.4.0
Author
Ian Wenneckers
Properties
scope?
ts
optional scope: Readonly<string | (string | null)[] | null>;Defined in: src/types/snapshot.type.ts:31
Scope, that was searched for token
Since
1.4.0
Author
Ian Wenneckers
shouldFallback?
ts
optional shouldFallback: boolean;Defined in: src/types/snapshot.type.ts:38
Flag, that enables fallbacks to value
Since
1.4.0
Author
Ian Wenneckers
token
ts
token: string;Defined in: src/types/snapshot.type.ts:24
Token, that was used to translate the value
Since
1.4.0
Author
Ian Wenneckers
value
ts
value: string;Defined in: src/types/snapshot.type.ts:17
Value, that gets piped
Remarks
Will be used as possible fallback value.
Since
1.4.0
Author
Ian Wenneckers