Drop accidental eslint dependency (#11460)

This commit is contained in:
Samuel Newman
2026-08-14 10:21:52 +03:00
committed by GitHub
parent afb3cdc26f
commit 70195d7059
62 changed files with 197 additions and 483 deletions
+1 -5
View File
@@ -8,11 +8,7 @@ import {darkTheme, defaultTheme, dimTheme} from './themes'
export type ColorScheme = 'light' | 'dark'
export type PaletteColorName =
| 'default'
| 'primary'
| 'secondary'
| 'inverted'
| 'error'
'default' | 'primary' | 'secondary' | 'inverted' | 'error'
export type PaletteColor = {
background: string
backgroundLight: string
+1 -2
View File
@@ -60,8 +60,7 @@ function getRunningChannel(
* entirely from embedded manifests, so narrow it ourselves.
*/
const manifest = currentlyRunning?.manifest as
| {metadata?: {channel?: unknown}}
| undefined
{metadata?: {channel?: unknown}} | undefined
const channel = manifest?.metadata?.channel
if (typeof channel === 'string' && channel) {
return channel
+1 -6
View File
@@ -44,12 +44,7 @@ export type StartUploadResponse = {
}
export type UploadState =
| 'created'
| 'finishing'
| 'completed'
| 'failed'
| 'aborted'
| 'expired'
'created' | 'finishing' | 'completed' | 'failed' | 'aborted' | 'expired'
export type UploadStatusResponse = {
jobId: string
+1 -4
View File
@@ -3,10 +3,7 @@
// on the `video:upload:compressSkipped` analytics event, so the two stay in
// sync.
export type VideoCompressSkipReason =
| 'gif'
| 'below-byte-threshold'
| 'no-webcodecs'
| 'compress-error-fallback'
'gif' | 'below-byte-threshold' | 'no-webcodecs' | 'compress-error-fallback'
export type VideoUploadTransport = 'multipart' | 'legacy' | 'legacy-fallback'
+1 -5
View File
@@ -1,11 +1,7 @@
import {type Events} from '#/analytics/metrics/types'
export type SharedNavTab =
| 'Home'
| 'Search'
| 'Messages'
| 'Notifications'
| 'MyProfile'
'Home' | 'Search' | 'Messages' | 'Notifications' | 'MyProfile'
export const TAB_TO_NAV_ITEM: Record<
SharedNavTab,
+1 -2
View File
@@ -169,8 +169,7 @@ export type AllNavigatorParams = CommonNavigatorParams & {
export type NavigationProp = NativeStackNavigationProp<AllNavigatorParams>
export type State =
| NavigationState
| Omit<PartialState<NavigationState>, 'stale'>
NavigationState | Omit<PartialState<NavigationState>, 'stale'>
export type RouteParams = Record<string, string>
export type MatchResult = {params: RouteParams}