We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
👇 See the list below
The text was updated successfully, but these errors were encountered:
type = { aa: string } 不是指一个「有且仅有 aa 属性的 object」,而是所有「有 aa 属性的值」。因此:
type = { aa: string }
{}
null
undefined
{ aa: string } & { bb: string }
Sorry, something went wrong.
the key distinction is that a type cannot be re-opened to add new properties vs an interface which is always extendable.
No branches or pull requests
👇 See the list below
The text was updated successfully, but these errors were encountered: