summaryrefslogtreecommitdiffhomepage
path: root/typescript.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2017-02-01 13:55:25 -0800
committerGitHub <noreply@github.com>2017-02-01 13:55:25 -0800
commit0809ee0864c0256948706d22600ab90309dc6b40 (patch)
tree4d2ea3c6f9969f1b417c394fdd118357def9eada /typescript.html.markdown
parentfcfc8756dd504536b1f796ea6e705c99f60fa7e8 (diff)
parent03bab0e47b38c113e26c064b11cbd171675214a1 (diff)
Merge pull request #2576 from dvkndn/patch-2
[typescript/en-us] Use ```ts for typescript syntax highlight
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r--typescript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 23e0bab4..d3ca0786 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;