summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2019-10-30 12:36:12 -0700
committerGitHub <noreply@github.com>2019-10-30 12:36:12 -0700
commita6eebe6a1d1a01c15999d2cbc9f5147c310b5dc2 (patch)
tree1f98d73ad9fb42431b24451fd5835e7aa1a0e02a
parentb63b1b32b674571f01b66b207a558d3eed08e9be (diff)
parentfb48be47d6cac609cf9d29caae5d4e73df3e214a (diff)
Merge pull request #3718 from mcky/master
[typescript/en,th-th] Fix typo in typescript comments
-rw-r--r--th-th/typescript.th.html.markdown2
-rw-r--r--typescript.html.markdown2
2 files changed, 2 insertions, 2 deletions
diff --git a/th-th/typescript.th.html.markdown b/th-th/typescript.th.html.markdown
index fc2a823b..5395c2a7 100644
--- a/th-th/typescript.th.html.markdown
+++ b/th-th/typescript.th.html.markdown
@@ -190,7 +190,7 @@ interface Person {
}
var p1: Person = { name: "Tyrone", age: 42 };
-p1.age = 25; // Error แน่นอน เพราะ p1.x ถูกกำหนดเป็น read-only
+p1.age = 25; // Error แน่นอน เพราะ p1.age ถูกกำหนดเป็น read-only
var p2 = { name: "John", age: 60 }; // สังเกตว่า p2 ไม่ได้กำหนดเป็น Person
var p3: Person = p2; // ทำได้ เป็น read-only alias ของ p2 และกำหนดเป็น Person
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