sort-typescript-imports
sort-typescript-imports copied to clipboard
Handle multi-line destructing import statement saved by prettier.
Prettier always append a comma at the end when it breaks a destructing import statement into multiple lines. And the current regex used here won't match them resulting those statements not included in the sort.
This change updates the regex to match that kind of pattern.