[Bug]: I can't import interface of chart options from @carbon/charts-angular
See original GitHub issueWhat happened?
I’m trying to import intreface DonutChartOptions
for char, but it not exist in npm package @carbon/charts-angular. How I can import DonutChartOptions
intreface ?
Version
“@carbon/charts-angular”: “^0.58.1”,
Data & options used
import { DonutChartOptions } from '@carbon/charts-angular'
Relevant log output
Module '"@carbon/charts-angular"' has no exported member 'DonutChartOptions'.
Codesandbox example
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
typescript - Can't import interface - Stack Overflow
import { API_URI } from '../config';. I get the error Module has no exported member 'API_URI'. What am I doing wrong?
Read more >How to import interface for defineProps · Issue #4294 - GitHub
I want to extract the interface of props, but an error will be reported. If the interface component is defined, it will render...
Read more >Controls and Dashboards | Charts - Google Developers
Controls are user interface widgets (such as category pickers, range sliders, autocompleters. ... Create a pie chart, passing some options
Read more >How to use react-chartjs-2 with TypeScript?
import type { ChartData, ChartOptions } from 'chart.js'; Copy ...and then used with options and data props: interface LineProps {
Read more >Using charts - Canva Help Center
To remove a chart component, leave its row blank on the data table. Importing data. Select your chart. You'll then see two options...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got it, thank you!
@dkhrunov yes, internally within
@carbon/charts-angular
,@carbon/charts
is a dep. That wouldn’t make it show up in your package.json