We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The types for SearchResultsDataModel don't match what's coming back.
SearchResultsDataModel
error TS2339: Property 'url' does not exist on type 'SearchResultsDataModel'.
But in the return data, there's clearly a url property:
url
{ id: 39535, type: 'anime', name: 'Mushoku Tensei: Isekai Ittara Honki Dasu', url: 'https://myanimelist.net/anime/39535/Mushoku_Tensei__Isekai_Ittara_Honki_Dasu', image_url: 'https://cdn.myanimelist.net/r/116x180/images/anime/1530/117776.jpg?s=2a0acf851f984a37764e4804120c45ee', thumbnail_url: 'https://cdn.myanimelist.net/r/116x76/images/anime/1530/117776.jpg?s=fc275c30b90acd200a730a5fdf2f27f9', payload: { media_type: 'TV', start_year: 2021, aired: 'Jan 11, 2021 to Mar 22, 2021', score: '8.38', status: 'Finished Airing' }, es_score: 2.3884969 },
There's another related issue, the id is noted as type string, but it's clearly number in the actual data.
id
string
number
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The types for
SearchResultsDataModel
don't match what's coming back.But in the return data, there's clearly a
url
property:There's another related issue, the
id
is noted as typestring
, but it's clearlynumber
in the actual data.The text was updated successfully, but these errors were encountered: