Closed danielkcz closed 4 years ago
Describe the bug TS 3.8 introduced the new feature of Type-Only imports which is really for optimizing.
Unfortunately, the extension is not able to preserve it and the keyword is removed during the sort.
To Reproduce
import type { Client } from 'urql'
Expected behavior Import should keep type keyword.
type
Actual behavior
import { Client } from 'urql'
OS (please complete the following information):
VS Code (please complete the following information):
I believe the fix should be fairly trivial and I am able to work on the PR.
Feature has been release from v2.1.4.
@FredyC, thanks very much for the contribution!
Working nicely. I thank you for your quick response and fix.
Describe the bug TS 3.8 introduced the new feature of Type-Only imports which is really for optimizing.
Unfortunately, the extension is not able to preserve it and the keyword is removed during the sort.
To Reproduce
Expected behavior Import should keep
type
keyword.Actual behavior
OS (please complete the following information):
VS Code (please complete the following information):
I believe the fix should be fairly trivial and I am able to work on the PR.