mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
This commit is contained in:
committed by
Josh Perez
parent
6e7930f7a9
commit
b5df9b4067
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user