-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
TypeScript: parse
returns type unknown
#250
Comments
Thanks for your input. In I'm not sure though why TypeScript thinks that |
I've now published v3.0.0 that has replaced the |
parse
clearly returns typeJavaScriptValue
, which I can see in the types declaration file is:Yet when I call
parse
, TypeScript is telling me the return type isunknown
. If I cast the return value toJavaScriptValue
, TypeScript tells me:Do you know what might be happening here?
The text was updated successfully, but these errors were encountered: