Drop accidental eslint dependency (#11460)
This commit is contained in:
@@ -157,8 +157,7 @@ export type ComposerAction =
|
||||
| {
|
||||
type: 'clear'
|
||||
initInteractionSettings:
|
||||
| app.bsky.actor.defs.PostInteractionSettingsPref
|
||||
| undefined
|
||||
app.bsky.actor.defs.PostInteractionSettingsPref | undefined
|
||||
}
|
||||
| {
|
||||
type: 'mark_saved'
|
||||
@@ -632,8 +631,7 @@ export function createComposerState({
|
||||
initImageUris: ComposerOpts['imageUris']
|
||||
initQuoteUri: string | undefined
|
||||
initInteractionSettings:
|
||||
| app.bsky.actor.defs.PostInteractionSettingsPref
|
||||
| undefined
|
||||
app.bsky.actor.defs.PostInteractionSettingsPref | undefined
|
||||
}): ComposerState {
|
||||
let media: ImagesMedia | GalleryMedia | undefined
|
||||
if (initImageUris?.length) {
|
||||
|
||||
@@ -148,11 +148,7 @@ type DoneState = {
|
||||
}
|
||||
|
||||
export type VideoState =
|
||||
| ErrorState
|
||||
| CompressingState
|
||||
| UploadingState
|
||||
| ProcessingState
|
||||
| DoneState
|
||||
ErrorState | CompressingState | UploadingState | ProcessingState | DoneState
|
||||
|
||||
export function createVideoState(
|
||||
asset: ImagePickerAsset,
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import {type VideoCompressSkipReason} from '#/lib/media/video/types'
|
||||
|
||||
export type VideoProgressPhase =
|
||||
| 'compressing'
|
||||
| 'uploading'
|
||||
| 'uploadingWithoutCompression'
|
||||
| 'processing'
|
||||
'compressing' | 'uploading' | 'uploadingWithoutCompression' | 'processing'
|
||||
|
||||
// Keep progress monotonic across the full client pipeline instead of showing
|
||||
// three separate 0 -> 100 cycles. Backend processing progress covers the
|
||||
|
||||
@@ -8,8 +8,7 @@ export type TextInputRef = {
|
||||
* @platform web
|
||||
*/
|
||||
getCursorPosition: () =>
|
||||
| {left: number; right: number; top: number; bottom: number}
|
||||
| undefined
|
||||
{left: number; right: number; top: number; bottom: number} | undefined
|
||||
/**
|
||||
* Closes the autocomplete popup if it is open.
|
||||
* Returns `true` if the popup was closed, `false` otherwise.
|
||||
|
||||
@@ -37,8 +37,7 @@ import {PressableWithHover} from './PressableWithHover'
|
||||
import {Text} from './text/Text'
|
||||
|
||||
type Event =
|
||||
| React.MouseEvent<HTMLAnchorElement, MouseEvent>
|
||||
| GestureResponderEvent
|
||||
React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent
|
||||
|
||||
interface Props extends React.ComponentProps<typeof TouchableOpacity> {
|
||||
testID?: string
|
||||
|
||||
@@ -521,9 +521,7 @@ let Row = function RowImpl<ItemT>({
|
||||
item: ItemT
|
||||
index: number
|
||||
renderItem:
|
||||
| null
|
||||
| undefined
|
||||
| ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
|
||||
null | undefined | ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
|
||||
extraData: unknown
|
||||
onItemSeen: ((item: ItemT) => void) | undefined
|
||||
registerRowNode: (index: number, node: HTMLElement | null) => void
|
||||
@@ -604,9 +602,7 @@ Row = memo(Row) as <ItemT>(props: {
|
||||
item: ItemT
|
||||
index: number
|
||||
renderItem:
|
||||
| null
|
||||
| undefined
|
||||
| ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
|
||||
null | undefined | ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
|
||||
extraData: unknown
|
||||
onItemSeen: ((item: ItemT) => void) | undefined
|
||||
registerRowNode: (index: number, node: HTMLElement | null) => void
|
||||
|
||||
@@ -307,7 +307,7 @@ let UserAvatar = ({
|
||||
}, [size, style])
|
||||
|
||||
return avatar &&
|
||||
!((moderation?.blur && IS_ANDROID) /* android crashes with blur */) ? (
|
||||
!(moderation?.blur && IS_ANDROID /* android crashes with blur */) ? (
|
||||
<View style={containerStyle}>
|
||||
{usePlainRNImage ? (
|
||||
<RNImage
|
||||
|
||||
@@ -212,7 +212,7 @@ export function UserBanner({
|
||||
/>
|
||||
</>
|
||||
) : banner &&
|
||||
!((moderation?.blur && IS_ANDROID) /* android crashes with blur */) ? (
|
||||
!(moderation?.blur && IS_ANDROID /* android crashes with blur */) ? (
|
||||
<Image
|
||||
style={[styles.bannerImage, t.atoms.bg_contrast_25]}
|
||||
contentFit="cover"
|
||||
|
||||
Reference in New Issue
Block a user