-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
type: typesTypescript type changesTypescript type changes
Description
Expected behavior
I am using the type 'TRBL' in my project with a barchart for a custom plugin. This is not exported from chart.js, so now i have to import it from the node_modules. Is it possible to export it from chart.js?
Current behavior
Now my import looks like this:
import { TRBL } from 'node_modules/chart.js/dist/types/geometric';
And it would be nicer to have it like this:
import { TRBL } from 'chart.js';
Reproducible sample
Optional extra steps/info to reproduce
No response
Possible solution
Exporting the type from chart.js it self.
Context
No response
chart.js version
4.4.6
Browser name and version
No response
Link to your project
No response
Metadata
Metadata
Assignees
Labels
type: typesTypescript type changesTypescript type changes