woutervh-/react-pan-and-zoom-hoc

Type 'keyof T' does not satisfy the constraint 'string'

wallzero opened this issue · 2 comments

Currently when importing react-pan-and-zoom-hoc, TypeScript throws an error: Type 'keyof T' does not satisfy the constraint 'string'

Here's a thread on the subject.

Thanks @schlesiger. I will make an update to be compatible with newer TS version.

Should be fixed with version 1.3.0. Please re-open or create a new issue if it's still a problem for you.