Skip to content

Commit 668c4bb

Browse files
authored
Merge pull request #14 from densminger/patch-1
Correct the wording for protocols in Swift.
2 parents e00ee1a + a2e5ba5 commit 668c4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch03-05-interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
An _interface_ is a description of the actions that an object can do.
44

55
You might already be familiar with _interfaces_ in other programming languages like C# and Java,
6-
or _contracts_ in Swift.
6+
or _protocols_ in Swift.
77

88
Interfaces are not part of the ECMAScript.
99
It is a level of abstraction supported by TypeScript to improve the type-checking process, and not converted to JavaScript code.

0 commit comments

Comments
 (0)