
亮点
🌐 Highlights
在 no-duplicate-imports 中分离默认类型和命名类型的导入声明
🌐 Separate default and named type import declarations in no-duplicate-imports
现在 no-duplicate-imports 规则允许在不同的声明中从同一个模块同时进行默认类型导入和命名类型导入。
🌐 The no-duplicate-imports rule now allows both a default type import and named type imports from the same module in separate declarations.
import type A from "some-module";
import type { B, C } from "some-module";
此更改是为了适应 TypeScript 的一个限制:默认类型导入不能与命名类型导入在同一声明中结合使用。
🌐 This change accommodates a TypeScript limitation: a default type import cannot be combined with named type imports in a single declaration.
错误修复
🌐 Bug Fixes
文档
🌐 Documentation
杂项
🌐 Chores
