Skip to content

Commit

Permalink
Add loadMusicMetadata() typing for CommonJS (hack)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 30, 2024
1 parent c9802c4 commit 0ab3c9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,5 @@ export async function scanAppendingHeaders(randomReader: IRandomReader, options:

options.apeHeader = await APEv2Parser.findApeFooterOffset(randomReader, apeOffset);
}

export declare function loadMusicMetadata(): Promise<typeof import('music-metadata')>;

0 comments on commit 0ab3c9b

Please sign in to comment.