M
This commit is contained in:
parent
6283cccac3
commit
c9d490ce20
1 changed files with 18 additions and 0 deletions
|
@ -7,6 +7,24 @@ import {
|
|||
inputPathPlaceholder,
|
||||
outputPathPlaceholder,
|
||||
} from "constants/ffmpeg";
|
||||
|
||||
// When we run tsc on CI, the line below errors out
|
||||
//
|
||||
// > Error: src/worker/ffmpeg.worker.ts(10,38): error TS2307: Cannot find module
|
||||
// 'ffmpeg-wasm' or its corresponding type declarations.
|
||||
//
|
||||
// Building and running works fine. And this error does not occur when running
|
||||
// tsc locally either.
|
||||
//
|
||||
// Of course, there is some misconfiguration, but we plan to move off our old
|
||||
// fork and onto upstream ffmpeg-wasm, and the reason can be figured out then.
|
||||
// For now, disable the error to allow the CI lint to complete.
|
||||
//
|
||||
// Note that we can't use @ts-expect-error since it doesn't error out when
|
||||
// actually building!
|
||||
//
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import { FFmpeg, createFFmpeg } from "ffmpeg-wasm";
|
||||
|
||||
export class DedicatedFFmpegWorker {
|
||||
|
|
Loading…
Reference in a new issue