fix: CameraDevices type can't be imported (#1255)
This commit is contained in:
parent
b7bb8e45da
commit
cc7d195cbd
@ -4,7 +4,7 @@ import { sortDevices } from '../utils/FormatFilter';
|
|||||||
import { Camera } from '../Camera';
|
import { Camera } from '../Camera';
|
||||||
import { CameraDevice, LogicalCameraDeviceType, parsePhysicalDeviceTypes, PhysicalCameraDeviceType } from '../CameraDevice';
|
import { CameraDevice, LogicalCameraDeviceType, parsePhysicalDeviceTypes, PhysicalCameraDeviceType } from '../CameraDevice';
|
||||||
|
|
||||||
type CameraDevices = {
|
export type CameraDevices = {
|
||||||
[key in CameraPosition]: CameraDevice | undefined;
|
[key in CameraPosition]: CameraDevice | undefined;
|
||||||
};
|
};
|
||||||
const DefaultCameraDevices: CameraDevices = {
|
const DefaultCameraDevices: CameraDevices = {
|
||||||
|
Loading…
Reference in New Issue
Block a user