fix: remove unused exports from useWebcamCapture

This commit is contained in:
Johnpaul
2026-01-27 03:14:31 +01:00
parent 0c50251943
commit bc8569080d

View File

@@ -10,14 +10,13 @@ import { app } from '@/scripts/app'
export const DEFAULT_VIDEO_WIDTH = 640
export const DEFAULT_VIDEO_HEIGHT = 480
// knip-ignore-exports UseWebcamCaptureOptions, UseWebcamCaptureReturn
export interface UseWebcamCaptureOptions {
interface UseWebcamCaptureOptions {
videoRef: Ref<HTMLVideoElement | undefined>
readonly?: boolean
onCameraStart?: () => void
}
export interface UseWebcamCaptureReturn {
interface UseWebcamCaptureReturn {
// State
isCameraOn: Ref<boolean>
isShowingPreview: Ref<boolean>