add ts-expect-error

This commit is contained in:
Samuel Newman
2025-06-11 23:28:31 +03:00
parent 830036bc29
commit b9f1a358d1
@@ -1,5 +1,5 @@
import React, {
ComponentProps,
type ComponentProps,
forwardRef,
useCallback,
useMemo,
@@ -7,16 +7,16 @@ import React, {
useState,
} from 'react'
import {
NativeSyntheticEvent,
type NativeSyntheticEvent,
Text as RNText,
TextInput as RNTextInput,
TextInputSelectionChangeEventData,
type TextInput as RNTextInput,
type TextInputSelectionChangeEventData,
View,
} from 'react-native'
import {AppBskyRichtextFacet, RichText} from '@atproto/api'
import PasteInput, {
PastedFile,
PasteInputRef,
type PastedFile,
type PasteInputRef, // @ts-expect-error no types when installing from github
} from '@mattermost/react-native-paste-input'
import {POST_IMG_MAX} from '#/lib/constants'
@@ -27,7 +27,7 @@ import {getMentionAt, insertMentionAt} from '#/lib/strings/mention-manip'
import {useTheme} from '#/lib/ThemeContext'
import {isAndroid, isNative} from '#/platform/detection'
import {
LinkFacetMatch,
type LinkFacetMatch,
suggestLinkCardUri,
} from '#/view/com/composer/text-input/text-input-util'
import {atoms as a, useAlf} from '#/alf'