I try to set custom translations to the web component on typescript and it looks like the type definition of the translations property is not matching with the defaultTranslations in the translations service.
After using // @ts-ignore on that line it knows how to process the list of strings, so probably this is type definitions mismatch between the web component and translation service.
I try to set custom translations to the web component on typescript and it looks like the type definition of the translations property is not matching with the defaultTranslations in the translations service.
Type definition of web component: https://github.com/BlinkID/blinkid-in-browser/blob/ecf9868430fa270156a4c96574a7f6d9d20b9fe5/ui/src/components.d.ts#L155
[key: string]: string
Type definition of defaultTranslations: https://github.com/BlinkID/blinkid-in-browser/blob/ecf9868430fa270156a4c96574a7f6d9d20b9fe5/ui/src/utils/translation.service.ts#L5
[key: string]: string|Array<string>
After using
// @ts-ignore
on that line it knows how to process the list of strings, so probably this is type definitions mismatch between the web component and translation service.