5👍
✅
You can explicitly define the function you want to use inside the class BarChart
public renderChart!: (chartData: any, options: any) => void
Source:stackexchange.com