Make ICU types stricter for inline JSX
This commit is contained in:
parent
9e7a6ea8bc
commit
6655bfc576
52 changed files with 220 additions and 200 deletions
|
@ -7,7 +7,7 @@ import { isBeta } from '../util/version';
|
|||
import { DialogType } from '../types/Dialogs';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { PRODUCTION_DOWNLOAD_URL, BETA_DOWNLOAD_URL } from '../types/support';
|
||||
import { Intl } from './Intl';
|
||||
import { I18n } from './I18n';
|
||||
import { LeftPaneDialog } from './LeftPaneDialog';
|
||||
import type { WidthBreakpoint } from './_util';
|
||||
import { formatFileSize } from '../util/formatFileSize';
|
||||
|
@ -48,7 +48,7 @@ export function DialogUpdate({
|
|||
title={i18n('icu:cannotUpdate')}
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
retry: (
|
||||
<button
|
||||
|
@ -100,7 +100,7 @@ export function DialogUpdate({
|
|||
title={i18n('icu:cannotUpdate')}
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
url: (
|
||||
<a
|
||||
|
@ -142,7 +142,7 @@ export function DialogUpdate({
|
|||
type="warning"
|
||||
>
|
||||
<span>
|
||||
<Intl
|
||||
<I18n
|
||||
components={{
|
||||
app: <strong key="app">Signal.app</strong>,
|
||||
folder: <strong key="folder">/Applications</strong>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue