Daniel Fischer
e2070bba6d
[react-infinite-scroller] fix TS2497 ( #22247 )
...
* [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
2018-01-03 11:25:27 -08:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Piotr Srebniak
225b1dc694
[react-infinite-scroller] add missing page param to loadMore method ( #18428 )
2017-07-31 14:47:39 -07:00
Joscha Feth
32cdd18aee
lints
2017-07-11 21:23:39 +10:00
Joscha Feth
2d97577f3d
use namespace
2017-07-11 21:19:49 +10:00
Joscha Feth
61885be51e
Create tslint.json
2017-07-11 21:19:49 +10:00
Joscha Feth
21f4820e63
Update react-infinite-scroller-tests.tsx
2017-07-11 21:19:49 +10:00
Joscha Feth
4745f0a850
Update export
2017-07-11 21:19:49 +10:00
Tanguy Krotoff
573083a518
Replace React.Component<(any|void|\{\}|null)> by React.Component
...
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff
ea9de8a518
Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
...
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
eeb262e1d8
Update react to TypeScript 2.3
2017-06-19 13:34:54 +02:00
Lauri Lavanti
fa20510b22
Add loader into react-infinite-scroller's props ( #16685 )
2017-06-02 07:34:21 -07:00
Lapanti
aec8542e5f
Remove unnecessary newlines in react-infinite-scroller
2017-05-16 11:59:19 +03:00
Lapanti
e18abed9f2
Rename test file to correct one in react-infinite-scroller
2017-05-16 11:52:51 +03:00
Lapanti
52524f6ad7
Add tests for react-infinite-scroller
2017-05-16 11:36:48 +03:00
Lapanti
28fcfd7877
Add tsconfig.json for react-infinite-scroller
2017-05-16 11:31:13 +03:00
Lapanti
3bd056f15e
Add type definitions for react-infinite-scroller
2017-05-16 11:26:25 +03:00