Closed DerekLiang closed 4 years ago
It seems that the following seems to be working
export * from './dist/timeline';
import { default as d } from './dist/timeline';
export default d;
@DerekLiang thank you. I will look into this.
@DerekLiang - I just updated the library. It should be fixed in 3.2.6
The error
Here is the error message when I used the react typescript template:
To reproduce it:
The workaround
If I replaced the
<root>/node_modules/react-image-timeline/index.d.ts
with<root>/node_modules/react-image-timeline/dist/timline.d.ts
, it worked as expected.