Closed robinelvin closed 8 years ago
This is a 'known' issue and probably a won't fix.
The issue is that the definitions are for typescript 2.0.0. You will need to copy/paste your own bindings for previous typescript versions.
The instructions are in that issue you referenced
Thanks @afram I can confirm that switching to Typescript 2.x fixes the error
With
import * as Masonry from 'react-masonry-component';
I get
"typescript": "^1.8.10" "react-masonry-component": "^4.2.0"
EDIT: I see this could be a duplicate of #42