I installed the package using npm. post this, when I'm trying to create a gauge chart I'm getting the cannot find name error.
I tried to import it as well using,
import * as GaugeChart from 'gauge-chart'- getting error as:
Could not find a declaration file for module 'gauge-chart'. 'c:/Users/Z004CW5B/sinumerik-analytics/Front-End/HMT-FRONT-END/node_modules/gauge-chart/dist/bundle.js' implicitly has an 'any' type.
but it isn't able to identify gauge-chart- Cannot find name 'GaugeChart'.ts(2304)
I installed the package using npm. post this, when I'm trying to create a gauge chart I'm getting the cannot find name error. I tried to import it as well using, import * as GaugeChart from 'gauge-chart'- getting error as:
Could not find a declaration file for module 'gauge-chart'. 'c:/Users/Z004CW5B/sinumerik-analytics/Front-End/HMT-FRONT-END/node_modules/gauge-chart/dist/bundle.js' implicitly has an 'any' type.
but it isn't able to identify gauge-chart- Cannot find name 'GaugeChart'.ts(2304)