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

Make Config completely optional for plugins #9502

Merged
merged 2 commits into from Oct 7, 2022

Conversation

thecrypticace
Copy link
Contributor

Right now the Config type requires a content key. However, for plugins, this should be completely optional. There’s little reason for a plugin to override content. All other keys are already optional by virtue of using Partial<…> so we’ll do the same for the Config type used by plugins.

Fixes #9499

Right now the `Config` type requires a `content` key. However, for plugins, this should be completely optional. There’s little reason for a plugin to override content. All other keys are already optional by virtue of using `Partial<…>` so we’ll do the same for the `Config` type used by plugins.
@thecrypticace thecrypticace merged commit 56d9c43 into master Oct 7, 2022
@thecrypticace thecrypticace deleted the fix/plugin-config-optional branch October 7, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type issue when creating a plugin.
1 participant