Prefer import type
when importing types
This commit is contained in:
parent
0f635af8a9
commit
74fde10ff5
721 changed files with 2037 additions and 1947 deletions
|
@ -4,53 +4,53 @@
|
|||
import React from 'react';
|
||||
import { render, unmountComponentAtNode } from 'react-dom';
|
||||
|
||||
import { ToastAlreadyGroupMember } from '../components/ToastAlreadyGroupMember';
|
||||
import { ToastAlreadyRequestedToJoin } from '../components/ToastAlreadyRequestedToJoin';
|
||||
import { ToastBlocked } from '../components/ToastBlocked';
|
||||
import { ToastBlockedGroup } from '../components/ToastBlockedGroup';
|
||||
import { ToastCannotMixImageAndNonImageAttachments } from '../components/ToastCannotMixImageAndNonImageAttachments';
|
||||
import { ToastCannotStartGroupCall } from '../components/ToastCannotStartGroupCall';
|
||||
import { ToastCaptchaFailed } from '../components/ToastCaptchaFailed';
|
||||
import { ToastCaptchaSolved } from '../components/ToastCaptchaSolved';
|
||||
import {
|
||||
import type { ToastAlreadyGroupMember } from '../components/ToastAlreadyGroupMember';
|
||||
import type { ToastAlreadyRequestedToJoin } from '../components/ToastAlreadyRequestedToJoin';
|
||||
import type { ToastBlocked } from '../components/ToastBlocked';
|
||||
import type { ToastBlockedGroup } from '../components/ToastBlockedGroup';
|
||||
import type { ToastCannotMixImageAndNonImageAttachments } from '../components/ToastCannotMixImageAndNonImageAttachments';
|
||||
import type { ToastCannotStartGroupCall } from '../components/ToastCannotStartGroupCall';
|
||||
import type { ToastCaptchaFailed } from '../components/ToastCaptchaFailed';
|
||||
import type { ToastCaptchaSolved } from '../components/ToastCaptchaSolved';
|
||||
import type {
|
||||
ToastConversationArchived,
|
||||
ToastPropsType as ToastConversationArchivedPropsType,
|
||||
} from '../components/ToastConversationArchived';
|
||||
import { ToastConversationMarkedUnread } from '../components/ToastConversationMarkedUnread';
|
||||
import { ToastConversationUnarchived } from '../components/ToastConversationUnarchived';
|
||||
import { ToastDangerousFileType } from '../components/ToastDangerousFileType';
|
||||
import {
|
||||
import type { ToastConversationMarkedUnread } from '../components/ToastConversationMarkedUnread';
|
||||
import type { ToastConversationUnarchived } from '../components/ToastConversationUnarchived';
|
||||
import type { ToastDangerousFileType } from '../components/ToastDangerousFileType';
|
||||
import type {
|
||||
ToastDecryptionError,
|
||||
ToastPropsType as ToastDecryptionErrorPropsType,
|
||||
} from '../components/ToastDecryptionError';
|
||||
import { ToastDeleteForEveryoneFailed } from '../components/ToastDeleteForEveryoneFailed';
|
||||
import { ToastExpired } from '../components/ToastExpired';
|
||||
import {
|
||||
import type { ToastDeleteForEveryoneFailed } from '../components/ToastDeleteForEveryoneFailed';
|
||||
import type { ToastExpired } from '../components/ToastExpired';
|
||||
import type {
|
||||
ToastFileSaved,
|
||||
ToastPropsType as ToastFileSavedPropsType,
|
||||
} from '../components/ToastFileSaved';
|
||||
import {
|
||||
import type {
|
||||
ToastFileSize,
|
||||
ToastPropsType as ToastFileSizePropsType,
|
||||
} from '../components/ToastFileSize';
|
||||
import { ToastGroupLinkCopied } from '../components/ToastGroupLinkCopied';
|
||||
import { ToastInvalidConversation } from '../components/ToastInvalidConversation';
|
||||
import { ToastLeftGroup } from '../components/ToastLeftGroup';
|
||||
import { ToastLinkCopied } from '../components/ToastLinkCopied';
|
||||
import { ToastLoadingFullLogs } from '../components/ToastLoadingFullLogs';
|
||||
import { ToastMaxAttachments } from '../components/ToastMaxAttachments';
|
||||
import { ToastMessageBodyTooLong } from '../components/ToastMessageBodyTooLong';
|
||||
import { ToastOneNonImageAtATime } from '../components/ToastOneNonImageAtATime';
|
||||
import { ToastOriginalMessageNotFound } from '../components/ToastOriginalMessageNotFound';
|
||||
import { ToastPinnedConversationsFull } from '../components/ToastPinnedConversationsFull';
|
||||
import { ToastReactionFailed } from '../components/ToastReactionFailed';
|
||||
import { ToastReportedSpamAndBlocked } from '../components/ToastReportedSpamAndBlocked';
|
||||
import { ToastStickerPackInstallFailed } from '../components/ToastStickerPackInstallFailed';
|
||||
import { ToastTapToViewExpiredIncoming } from '../components/ToastTapToViewExpiredIncoming';
|
||||
import { ToastTapToViewExpiredOutgoing } from '../components/ToastTapToViewExpiredOutgoing';
|
||||
import { ToastUnableToLoadAttachment } from '../components/ToastUnableToLoadAttachment';
|
||||
import { ToastVoiceNoteLimit } from '../components/ToastVoiceNoteLimit';
|
||||
import { ToastVoiceNoteMustBeOnlyAttachment } from '../components/ToastVoiceNoteMustBeOnlyAttachment';
|
||||
import type { ToastGroupLinkCopied } from '../components/ToastGroupLinkCopied';
|
||||
import type { ToastInvalidConversation } from '../components/ToastInvalidConversation';
|
||||
import type { ToastLeftGroup } from '../components/ToastLeftGroup';
|
||||
import type { ToastLinkCopied } from '../components/ToastLinkCopied';
|
||||
import type { ToastLoadingFullLogs } from '../components/ToastLoadingFullLogs';
|
||||
import type { ToastMaxAttachments } from '../components/ToastMaxAttachments';
|
||||
import type { ToastMessageBodyTooLong } from '../components/ToastMessageBodyTooLong';
|
||||
import type { ToastOneNonImageAtATime } from '../components/ToastOneNonImageAtATime';
|
||||
import type { ToastOriginalMessageNotFound } from '../components/ToastOriginalMessageNotFound';
|
||||
import type { ToastPinnedConversationsFull } from '../components/ToastPinnedConversationsFull';
|
||||
import type { ToastReactionFailed } from '../components/ToastReactionFailed';
|
||||
import type { ToastReportedSpamAndBlocked } from '../components/ToastReportedSpamAndBlocked';
|
||||
import type { ToastStickerPackInstallFailed } from '../components/ToastStickerPackInstallFailed';
|
||||
import type { ToastTapToViewExpiredIncoming } from '../components/ToastTapToViewExpiredIncoming';
|
||||
import type { ToastTapToViewExpiredOutgoing } from '../components/ToastTapToViewExpiredOutgoing';
|
||||
import type { ToastUnableToLoadAttachment } from '../components/ToastUnableToLoadAttachment';
|
||||
import type { ToastVoiceNoteLimit } from '../components/ToastVoiceNoteLimit';
|
||||
import type { ToastVoiceNoteMustBeOnlyAttachment } from '../components/ToastVoiceNoteMustBeOnlyAttachment';
|
||||
|
||||
export function showToast(Toast: typeof ToastAlreadyGroupMember): void;
|
||||
export function showToast(Toast: typeof ToastAlreadyRequestedToJoin): void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue