Closed zeromancer closed 6 years ago
Using JS this seems to work: https://codesandbox.io/s/3vzp2y8ry5
I guess, the typings.d.ts
file is missing on NPM.
Yes, im using a Typescript The problem occurs the moment I import WindowWidthSensor and wount compile, even if not used in the source code itself.
Could you upload the typings to npm ? Because it does not seem like I can do something to fix the problem on my side....
Try the latest version.
Error Message:
Example code:
Using: