File tree Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export module moduleFunction
175175export function createSomething ( ) {
176176 return {
177177 foo : 'bar' ,
178- doSomething : ( a :number ) => a + 1 ,
178+ doSomething : ( a :number ) => a + 1 ,
179179 doAnotherThing : ( ) => { }
180180 } ;
181181}
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ cd ${0%/* }
3+ node ../../bin/typedoc --module commonjs --target ES6 --out doc/ src/
Original file line number Diff line number Diff line change 1+ @ echo off
2+ set curr_dir = %cd%
3+ chdir /D " %~dp0 "
4+
5+ node ..\..\bin\typedoc --module commonjs --target ES6 --out doc\ src\
6+
7+ chdir /D " %curr_dir% "
Original file line number Diff line number Diff line change 1+ function f ( ) {
2+ let total = 0 ;
3+ let x = 5 ;
4+ for ( let x = 1 ; x < 10 ; x ++ ) {
5+ total += x ;
6+ }
7+ console . log ( x ) ;
8+ }
9+
10+ var rectangle = { height : 20 , width : 10 } ;
11+ var areaMessage = `Rectangle area is ${ rectangle . height * rectangle . width } ` ;
12+
13+
14+ class Foo
15+ {
16+ /**
17+ * A function that returns an object.
18+ * Also no type information is given, the object should be correctly reflected.
19+ */
20+ createSomething ( ) {
21+ return {
22+ foo : 'bar' ,
23+ doSomething ( a :number ) { return a + 1 } ,
24+ doAnotherThing ( ) { }
25+ } ;
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments