mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [react-infinite-scroller] fix TS2497
I get this error when importing the module with `import * as InfiniteScroll from 'react-infinite-scroller`:
Error:(9, 33) TS2497: Module '".../@types/react-infinite-scroller/index"' resolves to a non-module entity and cannot be imported using this construct.
This PR fixes that error by merging the exported class with an empty namespace.
* revert accidental formatting change
|
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| react-infinite-scroller-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||