chore(Comments): reword a few things in the docs

This commit is contained in:
LuanRT
2023-01-10 23:25:31 -03:00
parent 1aedbd3ea6
commit 870b2811d9
2 changed files with 4 additions and 4 deletions

View File

@@ -43,12 +43,12 @@ class Comments {
}
/**
* Sorts the comments with the given sort type.
* Applies given sort option to the comments.
* @param sort - Sort type.
*/
async applySort(sort: 'TOP_COMMENTS' | 'NEWEST_FIRST'): Promise<Comments> {
if (!this.header)
throw new InnertubeError('Page header is missing. Cannot apply sort filter.');
throw new InnertubeError('Page header is missing. Cannot apply sort option.');
let button;