When I try to use react-daterange-picker in my React Typescript app, I get the error My code is based on the official example in the package repo. Why is there a Typescript error here, and how can we fix it? React Typescript code: Answer Well the one line you changed from the example was the import. This line does not