Skip to content

Don't force plugin components to implement ComponentType<ComponentProps> #115

Description

@forman

Chartlets.js currently requires plugin components to implement ComponentType<ComponentProps> forcing component providers to wrap existing components or apply superfluous type casts, as the ComponentProps could be optional.

See:

https://github.com/xcube-dev/xcube-viewer/blob/715ca00ee53f1fc3d2200b6b3b15e8c8498fa33b/src/ext/plugin.ts#L12-L19

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions