fraserxu / react-chartist

⚛ React component for Chartist.js
MIT License
528 stars 96 forks source link

Remove recursive self-import of ChartitGraphProps #87

Closed osdiab closed 4 years ago

osdiab commented 4 years ago

With TypeScript 3.7, that line causes the following error, preventing TypeScript from compiling successfully:

node_modules/react-chartist/dist/index.d.ts:1:10 - error TS2440: Import declaration conflicts with local declaration of 'ChartitGraphProps'.

1 import { ChartitGraphProps } from './index.d';
           ~~~~~~~~~~~~~~~~~

[7:11:32 PM] Found 1 error. Watching for file changes.

This resolves that error.

fraserxu commented 4 years ago

Thanks @osdiab , published to + react-chartist@0.14.1