mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
chore: add type declaration to force linter to recognize non-void return
This commit is contained in:
parent
2aad2244d8
commit
b6f5b1f45a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue