Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit a3a9346

Browse files
authored
Export fourcc() as static.
TSC complains about missing fourcc() on VideoWriter type; export as static instead of instance method.
1 parent fb2e20c commit a3a9346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/typings/VideoWriter.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Size } from './Size.d';
33

44
export class VideoWriter {
55
constructor(filePath: string, fourccCode: number, fps: number, frameSize: Size, isColor?: boolean);
6-
fourcc(fourcc: string): number;
6+
static fourcc(fourcc: string): number;
77
get(property: number): void;
88
release(): void;
99
set(property: number, value: number): void;

0 commit comments

Comments
 (0)