Run eslint --fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {BottomSheetViewProps} from './BottomSheet.types'
|
import {type BottomSheetViewProps} from './BottomSheet.types'
|
||||||
|
|
||||||
export function BottomSheet(_: BottomSheetViewProps) {
|
export function BottomSheet(_: BottomSheetViewProps) {
|
||||||
throw new Error('BottomSheet is not available on web')
|
throw new Error('BottomSheet is not available on web')
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import {BackgroundNotificationHandlerPreferences} from './ExpoBackgroundNotificationHandler.types'
|
import {type BackgroundNotificationHandlerPreferences} from './ExpoBackgroundNotificationHandler.types'
|
||||||
import {BackgroundNotificationHandler} from './ExpoBackgroundNotificationHandlerModule'
|
import {BackgroundNotificationHandler} from './ExpoBackgroundNotificationHandlerModule'
|
||||||
|
|
||||||
interface BackgroundNotificationPreferencesContext {
|
interface BackgroundNotificationPreferencesContext {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import {requireNativeModule} from 'expo-modules-core'
|
import {requireNativeModule} from 'expo-modules-core'
|
||||||
|
|
||||||
import {ExpoBackgroundNotificationHandlerModule} from './ExpoBackgroundNotificationHandler.types'
|
import {type ExpoBackgroundNotificationHandlerModule} from './ExpoBackgroundNotificationHandler.types'
|
||||||
|
|
||||||
export const BackgroundNotificationHandler =
|
export const BackgroundNotificationHandler =
|
||||||
requireNativeModule<ExpoBackgroundNotificationHandlerModule>(
|
requireNativeModule<ExpoBackgroundNotificationHandlerModule>(
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
BackgroundNotificationHandlerPreferences,
|
type BackgroundNotificationHandlerPreferences,
|
||||||
ExpoBackgroundNotificationHandlerModule,
|
type ExpoBackgroundNotificationHandlerModule,
|
||||||
} from './ExpoBackgroundNotificationHandler.types'
|
} from './ExpoBackgroundNotificationHandler.types'
|
||||||
|
|
||||||
// Stub for web
|
// Stub for web
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React from 'react'
|
|||||||
import {requireNativeModule} from 'expo'
|
import {requireNativeModule} from 'expo'
|
||||||
import {requireNativeViewManager} from 'expo-modules-core'
|
import {requireNativeViewManager} from 'expo-modules-core'
|
||||||
|
|
||||||
import {GifViewProps} from './GifView.types'
|
import {type GifViewProps} from './GifView.types'
|
||||||
|
|
||||||
const NativeModule = requireNativeModule('ExpoBlueskyGifView')
|
const NativeModule = requireNativeModule('ExpoBlueskyGifView')
|
||||||
const NativeView: React.ComponentType<
|
const NativeView: React.ComponentType<
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {Platform} from 'react-native'
|
import {Platform} from 'react-native'
|
||||||
import {requireNativeModule} from 'expo-modules-core'
|
import {requireNativeModule} from 'expo-modules-core'
|
||||||
|
|
||||||
import {AudioCategory} from './types'
|
import {type AudioCategory} from './types'
|
||||||
|
|
||||||
const NativeModule = requireNativeModule('ExpoPlatformInfo')
|
const NativeModule = requireNativeModule('ExpoPlatformInfo')
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {AudioCategory} from './types'
|
import {type AudioCategory} from './types'
|
||||||
|
|
||||||
export function getIsReducedMotionEnabled(): boolean {
|
export function getIsReducedMotionEnabled(): boolean {
|
||||||
throw new NotImplementedError()
|
throw new NotImplementedError()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {AudioCategory} from './types'
|
import {type AudioCategory} from './types'
|
||||||
|
|
||||||
export function getIsReducedMotionEnabled(): boolean {
|
export function getIsReducedMotionEnabled(): boolean {
|
||||||
if (typeof window === 'undefined') {
|
if (typeof window === 'undefined') {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {requireNativeModule} from 'expo'
|
import {requireNativeModule} from 'expo'
|
||||||
|
|
||||||
import {GooglePlayReferrerInfo, ReferrerInfo} from './types'
|
import {type GooglePlayReferrerInfo, type ReferrerInfo} from './types'
|
||||||
|
|
||||||
export const NativeModule = requireNativeModule('ExpoBlueskyReferrer')
|
export const NativeModule = requireNativeModule('ExpoBlueskyReferrer')
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {SharedPrefs} from '../../index'
|
import {SharedPrefs} from '../../index'
|
||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {GooglePlayReferrerInfo, ReferrerInfo} from './types'
|
import {type GooglePlayReferrerInfo, type ReferrerInfo} from './types'
|
||||||
|
|
||||||
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
||||||
throw new NotImplementedError()
|
throw new NotImplementedError()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {GooglePlayReferrerInfo, ReferrerInfo} from './types'
|
import {type GooglePlayReferrerInfo, type ReferrerInfo} from './types'
|
||||||
|
|
||||||
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
||||||
throw new NotImplementedError()
|
throw new NotImplementedError()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {Platform} from 'react-native'
|
import {Platform} from 'react-native'
|
||||||
|
|
||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {GooglePlayReferrerInfo, ReferrerInfo} from './types'
|
import {type GooglePlayReferrerInfo, type ReferrerInfo} from './types'
|
||||||
|
|
||||||
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
|
||||||
throw new NotImplementedError()
|
throw new NotImplementedError()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {NotImplementedError} from '../NotImplemented'
|
import {NotImplementedError} from '../NotImplemented'
|
||||||
import {VisibilityViewProps} from './types'
|
import {type VisibilityViewProps} from './types'
|
||||||
|
|
||||||
export async function updateActiveViewAsync() {
|
export async function updateActiveViewAsync() {
|
||||||
throw new NotImplementedError()
|
throw new NotImplementedError()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react'
|
import type React from 'react'
|
||||||
export interface VisibilityViewProps {
|
export interface VisibilityViewProps {
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
onChangeStatus: (isActive: boolean) => void
|
onChangeStatus: (isActive: boolean) => void
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {useCallback} from 'react'
|
import {useCallback} from 'react'
|
||||||
import {type ChatBskyActorDefs, ChatBskyConvoDefs} from '@atproto/api'
|
import {type ChatBskyActorDefs, type ChatBskyConvoDefs} from '@atproto/api'
|
||||||
import {Trans, useLingui} from '@lingui/react/macro'
|
import {Trans, useLingui} from '@lingui/react/macro'
|
||||||
import {StackActions, useNavigation} from '@react-navigation/native'
|
import {StackActions, useNavigation} from '@react-navigation/native'
|
||||||
import {useQueryClient} from '@tanstack/react-query'
|
import {useQueryClient} from '@tanstack/react-query'
|
||||||
|
|||||||
Reference in New Issue
Block a user