Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

huanglei1991
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant