summaryrefslogtreecommitdiffhomepage
path: root/typescript.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2019-11-24 12:19:34 +0530
committerGitHub <noreply@github.com>2019-11-24 12:19:34 +0530
commit035e4af7d4d0ad1dd8f59cea8fab06489997f974 (patch)
tree7f0d20298220da085af0e5a26c3e3c89cebfae7d /typescript.html.markdown
parent80b785ab226cfaa99f1b564ca65a0975abf4c006 (diff)
parent44aaead61f0ecd514d2b893f7a76d9bdcd1f625a (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r--typescript.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index cf2111d5..00f0cbc5 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -16,7 +16,7 @@ This article will focus only on TypeScript extra syntax, as opposed to
[JavaScript](/docs/javascript).
To test TypeScript's compiler, head to the
-[Playground] (http://www.typescriptlang.org/Playground) where you will be able
+[Playground](https://www.typescriptlang.org/play) where you will be able
to type code, have auto completion and directly see the emitted JavaScript.
```ts
@@ -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