TypeScript shows an error as data doesn't exist on the response of the review endpoint. The current types have reviews but the JS file uses data to supply the reviews array. Updated the TS types here to use data to match.
It appears that the 10.0.0 version on NPM is out of date with the main branch. Can the latest be deployed?
Issue
TypeScript shows an error as
data
doesn't exist on the response of the review endpoint. The current types havereviews
but the JS file usesdata
to supply the reviews array. Updated the TS types here to usedata
to match.It appears that the 10.0.0 version on NPM is out of date with the
main
branch. Can the latest be deployed?