thomas revidoval tento gist . Přejít na revizi
1 file changed, 18 insertions
test.md(vytvořil soubor)
@@ -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 | + | ``` |
Novější
Starší