mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
* refactor: rewrite YouTube Music search suggestions The search suggestions method can be found under `Innertube#music.getSearchSuggestions(query)` * feat: allow `execute(..)` to return parsed data This simplifies how response data is handled and also makes it easier for end users to write custom functionality. * style: lint code * chore: change a few things * refactor: rewrite YouTube search suggestions * chore(package): build * chore: update type declarations * chore: fix tests
13 lines
235 B
JavaScript
13 lines
235 B
JavaScript
'use strict';
|
|
|
|
const SearchSuggestion = require('./SearchSuggestion');
|
|
|
|
class HistorySuggestion extends SearchSuggestion {
|
|
type = 'HistorySuggestion';
|
|
|
|
constructor(data) {
|
|
super(data);
|
|
}
|
|
}
|
|
|
|
module.exports = HistorySuggestion; |