Hi,
I am having problems rendering a simple chart.
Here are relevant packages versoins:
"react": "^16.4.2",
"react-dom": "^16.4.2",
"@syncfusion/ej2-react-charts": "^16.3.24"
Project was created using create-react-app.
The code:
import { Tooltip } from '@syncfusion/ej2-popups';
import { Category, ChartComponent, DataLabel, Inject, Legend, LineSeries } from '@syncfusion/ej2-react-charts';
import * as React from 'react';
export default class ChartsShowcasePage extends React.Component<{}, {}> {
render() {
return <ChartComponent id="charts">
<Inject services={[LineSeries, Legend, Tooltip, DataLabel, Category]} />
</ChartComponent>;
}
}
Here is what I get:
node_modules/@syncfusion/ej2-lists/src/list-view/list-view.d.ts
(14,5): Property 'id' of type 'string | number | undefined' is not assignable to string index type 'Object'.