chore: Import type only from CodeScanner

This commit is contained in:
Marc Rousavy 2023-12-28 11:56:40 +01:00
parent 7905f2c057
commit e4393cd83a
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321

View File

@ -11,7 +11,7 @@ import type { RecordVideoOptions, VideoFile } from './VideoFile'
import { VisionCameraProxy } from './FrameProcessorPlugins' import { VisionCameraProxy } from './FrameProcessorPlugins'
import { CameraDevices } from './CameraDevices' import { CameraDevices } from './CameraDevices'
import type { EmitterSubscription } from 'react-native' import type { EmitterSubscription } from 'react-native'
import { Code, CodeScanner, CodeScannerFrame } from './CodeScanner' import type { Code, CodeScanner, CodeScannerFrame } from './CodeScanner'
//#region Types //#region Types
export type CameraPermissionStatus = 'granted' | 'not-determined' | 'denied' | 'restricted' export type CameraPermissionStatus = 'granted' | 'not-determined' | 'denied' | 'restricted'