Closed jeremy-code closed 1 month ago
Awesome, this looks great, thanks! I tested it out in my project, and it worked well. Would you mind updating the README along with this change, though, to suggest the use of /** @type {import("prettier").Config} */
instead of /** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */
?
Sounds good, made the requested change to README.md
prettier
module intypes/index.d.ts
to add thePluginConfig
interface to theOptions
interface to support proper typing of plugin options in IDEs and during type-checking