i18n icon indicating copy to clipboard operation
i18n copied to clipboard

Narrow interfaces are not assignable to TranslationContext

Open Loskir opened this issue 3 years ago • 0 comments

ctx.t accepts TranslationContext that is defined as Record<string, FluentValue> However, if you try to pass a narrower type (like {a: string}), you get an error

Loskir avatar Oct 20 '22 10:10 Loskir