Fix TS imports
This commit is contained in:
parent
d3c19a4f8c
commit
3e98a7d190
@ -1,6 +1,6 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import type { CameraPosition } from 'src/CameraPosition';
|
||||
import { sortDevices } from 'src/utils/FormatFilter';
|
||||
import type { CameraPosition } from '../CameraPosition';
|
||||
import { sortDevices } from '../utils/FormatFilter';
|
||||
import { Camera } from '../Camera';
|
||||
import { CameraDevice, LogicalCameraDeviceType, parsePhysicalDeviceTypes, PhysicalCameraDeviceType } from '../CameraDevice';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { useMemo } from 'react';
|
||||
import type { CameraDevice, CameraDeviceFormat } from 'src/CameraDevice';
|
||||
import { filterFormatsByAspectRatio, sortFormatsByResolution } from 'src/utils/FormatFilter';
|
||||
import type { Size } from 'src/utils/FormatFilter';
|
||||
import type { CameraDevice, CameraDeviceFormat } from '../CameraDevice';
|
||||
import { filterFormatsByAspectRatio, sortFormatsByResolution } from '../utils/FormatFilter';
|
||||
import type { Size } from '../utils/FormatFilter';
|
||||
|
||||
/**
|
||||
* Returns the best format for the given camera device.
|
||||
|
Loading…
Reference in New Issue
Block a user