Skip to content

3.0.0-rc: type error #8679

@sgratzl

Description

@sgratzl

Expected Behavior

I'm trying to bundle my typings using https://github.com/Swatinem/rollup-plugin-dts. However, it fails with the following error:

chart.js/dist/chunks/index.esm.d.ts(1476,14): error TS4025: Exported variable 'Scale' has or is using private name 'Scale'.

see also https://github.com/sgratzl/chartjs-chart-boxplot/runs/2155166769?check_suite_focus=true

Current Behavior

Possible Solution

make sure that all the used types are properly exported

Steps to Reproduce

see https://github.com/sgratzl/chartjs-chart-boxplot/runs/2155166769?check_suite_focus=true

Context

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions