Skip to content

Typescript Types #31

Description

@Dianoga

If it's useful to anyone here is an initial pass at types for this project.

declare module 'ffmetadata'{functionread(path: string,cb: (err: Error,data: any)=>void): void;functionread(path: string,options: {dryRun?: boolean;coverPath?: string},cb: (err: Error,data: any)=>void): void;functionwrite(path: string,data: Record<string,unknown>,cb: (err: Error)=>void): void;functionwrite(path: string,data: Record<string,unknown>,options: {attachments?: string[];dryRun?: boolean;coverPath?: string;id3v1?: boolean;'id3v2.3'?: boolean;},cb: (err: Error)=>void): void;functionsetFfmpegPath(path: string): void;}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions