tsbuffer icon indicating copy to clipboard operation
tsbuffer copied to clipboard

修复 Intersection Type 和 Omit 类型同时使用的时候的意外排除情况

Open huanglei1991 opened this issue 1 year ago • 0 comments

type b = Omit<base, 'a'| 'c' | 'd'> & {a?: string};

当 使用 Omit 是 skipFields的排除选项 会导致 interface 类型 的 合并出现意外排除的问题

huanglei1991 avatar May 20 '24 10:05 huanglei1991