chore: add type declaration to force linter to recognize non-void return

This commit is contained in:
Joe Howard 2025-01-26 20:03:21 -06:00
parent 2aad2244d8
commit b6f5b1f45a

View file

@ -74,7 +74,7 @@ export default class {
}
async search(query: string, shouldSplitChapters: boolean): Promise<SongMetadata[]> {
const {items} = await this.ytsrQueue.add(async () => this.cache.wrap(
const {items} = await this.ytsrQueue.add<ytsr.VideoResult>(async () => this.cache.wrap(
ytsr,
query,
{