From 43d28851a789d9b4f8811600b9099b058080539c Mon Sep 17 00:00:00 2001 From: Muhammad Saqib Date: Fri, 19 Jul 2019 14:29:37 +0500 Subject: [PATCH] Update Interfaces.md In my understanding, this is a more precise description of interfaces. They are basically a way of naming shapes of compound values. --- pages/Interfaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Interfaces.md b/pages/Interfaces.md index 74baab7f9..f52861ace 100644 --- a/pages/Interfaces.md +++ b/pages/Interfaces.md @@ -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