Open kellenmace opened 5 days ago
@kellenmace Hello When New version is released via NPM?
@kellenmace Hello When New version is released via NPM?
SearchFilters
was available as a named export in the src/Innertube.ts
file.src/types/Misc.ts
so now consumers of the YouTube.js library can no longer access it.@kellenmace It is still accessible:
import { Types } from 'youtubei.js';
const filters: Types.SearchFilters = {
duration: 'all',
features: ['hd'],
sort_by: 'view_count',
upload_date: 'all'
}
Steps to reproduce
In previous versions of YouTube.js, I was able to access
SearchFilters
as a named export and use it in my TypeScript app like this:In the current version, it is no longer available as a named export though. Is there a way to access
SearchFilters
that I'm unaware of, or does it need to be exposed once again for library consumers to use?Failure Logs
Expected behavior
I expected to be able to access the type of
SearchFilters
in my TypeScript app.Current behavior
The type of
SearchFilters
is not accessible in my TypeScript app.Version
Default
Anything else?
No response
Checklist