Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

A "more precise" description of interfaces. #1075

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/Interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

One of TypeScript's core principles is that type checking focuses on the *shape* that values have.
This is sometimes called "duck typing" or "structural subtyping".
In TypeScript, interfaces fill the role of naming these types, and are a powerful way of defining contracts within your code as well as contracts with code outside of your project.
In TypeScript, interfaces fill the role of naming these shapes, and are a powerful way of defining contracts within your code as well as contracts with code outside of your project.

# Our First Interface

Expand Down