Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: export Options to better assist type checking for .prettierrc.js
Developers can now import the Options type in the .prettierrc.js file for TypeScript type checking. For example, ``` // import prettier-plugin-jsdoc Options /** @type {import('prettier-plugin-jsdoc').Options} } */ const prettierPluginJsdocOptions = { jsdocCapitalizeDescription: false, } // import prettier Options /** @type {import('prettier').Options} */ const config = { plugins: ['prettier-plugin-jsdoc'], ...prettierPluginJsdocOptions, singleAttributePerLine: true, arrowParens: 'always', } ```
- Loading branch information