thomas revised this gist . Go to revision
1 file changed, 18 insertions
test.md(file created)
@@ -0,0 +1,18 @@ | |||
1 | + | # test | |
2 | + | ||
3 | + | ```ts | |
4 | + | class MyClass { | |
5 | + | public static myValue: string; | |
6 | + | constructor(init: string) { | |
7 | + | this.myValue = init; | |
8 | + | } | |
9 | + | } | |
10 | + | import fs = require("fs"); | |
11 | + | module MyModule { | |
12 | + | export interface MyInterface extends Other { | |
13 | + | myProperty: any; | |
14 | + | } | |
15 | + | } | |
16 | + | declare magicNumber number; | |
17 | + | myArray.forEach(() => { }); // fat arrow syntax | |
18 | + | ``` |
Newer
Older