You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index.d.ts declares render() as returning string while the documentation states that it is indeed "CheerioWrapper" (Cheerio) - the latter is also what can be observed when inspecting the result.
(f3dfb1e, for #571, may have been an impediment for this in the past but is long fixed.)
What is expected?
render() type definition declares Cheerio return value.
What is actually happening?
render() type definition declares string return value.
Version
1.0.0-beta.29
Reproduction link
https://codesandbox.io/s/4xvk5l7mo9
Steps to reproduce
index.d.ts declares
render()
as returningstring
while the documentation states that it is indeed "CheerioWrapper" (Cheerio
) - the latter is also what can be observed when inspecting the result.(f3dfb1e, for #571, may have been an impediment for this in the past but is long fixed.)
What is expected?
render()
type definition declaresCheerio
return value.What is actually happening?
render()
type definition declaresstring
return value.We created a hack around this using @types/cheerio.
The text was updated successfully, but these errors were encountered: