mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
add missing type
This commit is contained in:
parent
469688b4e0
commit
da2c2b11c9
@ -50,7 +50,7 @@ export const FrameExtractor = ({ videoFile, onFramesExtracted }) => {
|
||||
let frameData = [];
|
||||
|
||||
for (const time of durations) {
|
||||
await new Promise((resolve) => {
|
||||
await new Promise<void>((resolve) => {
|
||||
video.currentTime = time;
|
||||
const onSeeked = () => {
|
||||
context.drawImage(video, 0, 0, canvas.width, canvas.height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user