Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give elements their own interface definition
From what I understand, if we want to allow registering additional element options (see [here][1] for an example), then the element options need to be a top-level interface so that they can be used with TypeScript's [declaration merging][2]. [1]: chartjs/chartjs-plugin-annotation#275 (comment) [2]: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
- Loading branch information