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

Export plugin options type #292

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Export plugin options type #292

merged 1 commit into from
Jun 12, 2024

Conversation

thecrypticace
Copy link
Contributor

0.6.3 removed the export for the PluginOptions type. This wasn't really intentional so we're adding it back as some projects were importing it.

However, no project ever needs to use this type directly.

We extend the appropriate interfaces in Prettier so you only ever have to type your config file export as import("prettier").Config or your options object as import("prettier").Options if you're using the programmatic API.

Fixes #291

@thecrypticace thecrypticace merged commit 0ea2dc0 into main Jun 12, 2024
1 check passed
@thecrypticace thecrypticace deleted the feat/export-plugin-opts branch June 12, 2024 18:45
dustin-lennon added a commit to dustin-lennon/ffxiv-blue-mage-tracker that referenced this pull request Jun 15, 2024
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.

0.6.3 didn't expose PluginOptions interface
1 participant