Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Fixed getTags defined as instance method error
Browse files Browse the repository at this point in the history
  • Loading branch information
FaizanDurrani committed Aug 17, 2021
1 parent 8836aa2 commit 7e8f362
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/base/Source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ export abstract class Source implements Requestable, Searchable {
/**
* @deprecated use {@link Source.getSearchTags} instead
*/
getTags = this.getSearchTags
async getTags(): Promise<TagSection[]> {
// @ts-ignore
return this.getSearchTags?.()
}

supportsTagExclusion?(): Promise<boolean>
supportsSearchOperators?(): Promise<boolean>
Expand Down

0 comments on commit 7e8f362

Please sign in to comment.