eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

[import/no-duplicates] supports named imports & namespace imports for type-only imports

Open FuckingUsername opened this issue 2 years ago • 1 comments

version: 2.26.0

Example:

It seems that the following import statements can't be combined into one

import type { Foo } from 'pathToModule';
import type * as AllTypes from 'pathToModule';

Expected: supports the user-case & no import/no-duplicates error

FuckingUsername avatar Mar 28 '23 09:03 FuckingUsername