react-whirligig icon indicating copy to clipboard operation
react-whirligig copied to clipboard

Cant use it with typescript, no declaration module

Open yoni-salt opened this issue 4 years ago • 1 comments

When using this package in a typescript file it throws an error. there's no "@types/react-whirligig" type package. Screen Shot 2021-07-07 at 11 16 20

yoni-salt avatar Jul 07 '21 08:07 yoni-salt

I don't think the library has Typescript support.

Add this top of your import to ignore the requirement // @ts-ignore

PeterOla avatar Feb 25 '22 17:02 PeterOla