summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThien Do <dvkndn@gmail.com>2016-11-21 02:31:22 +0700
committerGitHub <noreply@github.com>2016-11-21 02:31:22 +0700
commit03bab0e47b38c113e26c064b11cbd171675214a1 (patch)
treec048e6b6136fc6aa61f459fb757e79019633872a
parent41d7d73aaac89159a84e551005dcbf4475f29325 (diff)
Use ts for typescript syntax
-rw-r--r--typescript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 1d712369..204b501a 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -13,7 +13,7 @@ This article will focus only on TypeScript extra syntax, as opposed to [JavaScri
To test TypeScript's compiler, head to the [Playground] (http://www.typescriptlang.org/Playground) where you will be able to type code, have auto completion and directly see the emitted JavaScript.
-```js
+```ts
// There are 3 basic types in TypeScript
var isDone: boolean = false;
var lines: number = 42;