diff options
author | Academia Pro Interlingua <AcProIL@mail.com> | 2019-11-01 13:42:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 13:42:54 +0100 |
commit | 92fe4d25790fb5f4df6c1363e28bbca7c76ada6e (patch) | |
tree | 5d99e53012e687f55707b0ce04ca6977498ebaa9 /typescript.html.markdown | |
parent | 7c5841d5d5daba5cbe731f35da7787c29d209b41 (diff) | |
parent | a4006483feb4c80cbac68856eadbc83c694f7050 (diff) |
Merge pull request #1 from adambard/master
Update the fork
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r-- | typescript.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown index cf2111d5..6f238d5b 100644 --- a/typescript.html.markdown +++ b/typescript.html.markdown @@ -199,7 +199,7 @@ interface Person { } var p1: Person = { name: "Tyrone", age: 42 }; -p1.age = 25; // Error, p1.x is read-only +p1.age = 25; // Error, p1.age is read-only var p2 = { name: "John", age: 60 }; var p3: Person = p2; // Ok, read-only alias for p2 |