Remove redundant files
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: ["../../../tsconfig.json"],
|
||||
},
|
||||
plugins: ["@typescript-eslint"],
|
||||
};
|
||||
35
src/types/ffmpeg-core/ffmpeg-core.d.ts
vendored
35
src/types/ffmpeg-core/ffmpeg-core.d.ts
vendored
@@ -1,35 +0,0 @@
|
||||
type Pointer = number;
|
||||
type StringPointer = Pointer;
|
||||
type StringArrayPointer = Pointer;
|
||||
|
||||
export interface FS {
|
||||
mkdir: (fileName: string) => void;
|
||||
readFile: (fileName: string) => Uint8Array;
|
||||
readdir: (pathName: string) => string[];
|
||||
unlink: (fileName: string) => void;
|
||||
writeFile: (fileName: string, binaryData: Uint8Array | string) => void;
|
||||
}
|
||||
|
||||
export interface Log {
|
||||
type: string;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface FFmpegModule {
|
||||
DEFAULT_ARGS: string[];
|
||||
FS: FS;
|
||||
NULL: Pointer;
|
||||
SIZE_I32: number;
|
||||
|
||||
ret: number;
|
||||
timeout: number;
|
||||
|
||||
exec: (...args: string[]) => number;
|
||||
reset: () => void;
|
||||
setLogger: (logger: (log: Log) => void) => void;
|
||||
setTimeout: (timeout: number) => void;
|
||||
setProgress: (handler: (progress: number) => void) => void;
|
||||
}
|
||||
|
||||
declare function createFFmpeg(): Promise<FFmpegModule>;
|
||||
export default createFFmpeg;
|
||||
Reference in New Issue
Block a user