Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Allow non generic plugin type options #11878

Conversation

LeeLenaleee
Copy link
Collaborator

Resolves: #11877

This is technically breaking I think since the plugins section is not always the same type anymore, so I am not sure if we can do this in V4 or this needs to be targeted to V5.

@LeeLenaleee LeeLenaleee added the type: types Typescript type changes label Aug 21, 2024
@LeeLenaleee
Copy link
Collaborator Author

I only tested this with setting the options in the options object but it seems to break the defaults.

We can't make this change. I will look further into this if we can fix this. Otherwise people will have to ignore the eslint error that they might get.

@LeeLenaleee LeeLenaleee marked this pull request as draft August 21, 2024 20:15
@LeeLenaleee LeeLenaleee changed the title Allow non generic plugin type options Draft: Allow non generic plugin type options Aug 21, 2024
@LeeLenaleee
Copy link
Collaborator Author

Closing as it does not seem possible what I am trying to do without breaking our current implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: types Typescript type changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

htmlLegend is missing in PluginOptionsByType in TypeScript 5.5.3 definitions
1 participant