Migrate messages, conversations, conversation_view, background to TS

Co-authored-by: Sidney Keese <sidney@carbonfive.com>
This commit is contained in:
Chris Svenningsen 2020-09-24 13:57:54 -07:00 committed by Josh Perez
parent 6e7930f7a9
commit b5df9b4067
42 changed files with 11676 additions and 10516 deletions

View file

@ -12,10 +12,10 @@ export type RenderTextCallbackType = (options: {
}) => JSX.Element | string;
export type ReplacementValuesType = {
[key: string]: string;
[key: string]: string | undefined;
};
export type LocalizerType = (
key: string,
values?: Array<string> | ReplacementValuesType
values?: Array<string | null> | ReplacementValuesType
) => string;