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
Slightly off topic, but I tried yarn add --dev @types/react-native-html-parser and it didn't work. Were you guys able to get TypeScript working with this package?
I'm using Type Script, and there's already the types for the official DOMParser types.
![image](https://user-images.githubusercontent.com/11244866/107000985-a7aa7700-67aa-11eb-89a4-d006248595c4.png)
Here are the types for
QuerySelector
function:And this is the official documentation https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector
The problem is that for some reason in this package we have
![image](https://user-images.githubusercontent.com/11244866/107001130-eb9d7c00-67aa-11eb-86eb-f8c593fb16b4.png)
querySelect
instead ofquerySelector
, and this fact breaks type checking:Any reason for having a different name? Can this be fixed?
The text was updated successfully, but these errors were encountered: