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

Clarify TypeScript's structurally typed vs. nominally typed distinction #3068

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

udohjeremiah
Copy link
Contributor

Many readers who refer to the documentation may not be familiar with type systems. Therefore, when they come across the following statement:

Being concerned only with the structure and capabilities of types is why we call TypeScript a structurally typed type system.

It may not make complete sense to them. To make it clearer, we should mention the opposite of what is meant by the term "structurally typed" to help readers understand more clearly and look it up if needed.

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