davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3k stars 260 forks source link

Upgrading from 0.13.8 to 1.0.0 #584

Closed rwb196884 closed 3 months ago

rwb196884 commented 3 months ago

In my code is

import { DotLoader } from 'react-spinners/';

and after upgrading it nolonger builds:

 error TS7016: Could not find a declaration file for module 'react-spinners'. 'C:/Work/Azure/TruthPortalApp/client/node_modules/react-spinners/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/react-spinners` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-spinners';`
rwb196884 commented 3 months ago

1.0.0 is some kind of fuck up and 0.13.8 is the latest version?

davidhu2000 commented 3 months ago

0.13.8 is the latest https://github.com/davidhu2000/react-spinners/issues/563#issuecomment-1461236830

davidhu2000 commented 3 months ago

when i have time, i'll fix some existing issues and publish 1.0.1, so that should resolve this going forward