coderaiser / putout

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement πŸ’ͺ with built-in support for js, jsx, typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
https://putout.cloudcmd.io/
MIT License
698 stars 40 forks source link

TypeScript union type as a key turns into extends expression #185

Closed incleaf closed 11 months ago

incleaf commented 11 months ago
image

Here's a snippet of it.

coderaiser commented 11 months ago

Thanks a lot, fixed with https://github.com/putoutjs/printer/commit/8e5d5f5015e8fedf80332674148ccbf4ccd4bf93, landed in @putout/printer v5.22 πŸŽ‰. Please re-install 🐊Putout

Is it works for you?

incleaf commented 11 months ago

@coderaiser It works! Thank you for your work.