File tree Expand file tree Collapse file tree 4 files changed +12
-44
lines changed Expand file tree Collapse file tree 4 files changed +12
-44
lines changed Original file line number Diff line number Diff line change 11
11
"skipFiles" : [" <node_internals>/**" ],
12
12
"type" : " pwa-node" ,
13
13
"sourceMaps" : true
14
- },
15
- {
16
- "type" : " node" ,
17
- "request" : " launch" ,
18
- "name" : " Debug self run" ,
19
- "program" : " ${workspaceFolder}/bin/typedoc" ,
20
- "cwd" : " ${workspaceFolder}/examples/self" ,
21
- "args" : [
22
- " --mode" ,
23
- " file" ,
24
- " --name" ,
25
- " TypeDoc Documentation" ,
26
- " --tsconfig" ,
27
- " ../../tsconfig.json" ,
28
- " --readme" ,
29
- " ../../README.md" ,
30
- " --out" ,
31
- " doc/" ,
32
- " ../../src/lib/"
33
- ]
34
- },
35
- {
36
- "type" : " node" ,
37
- "request" : " launch" ,
38
- "name" : " Debug Tests" ,
39
- "program" : " ${workspaceRoot}/node_modules/mocha/bin/_mocha" ,
40
- "cwd" : " ${workspaceRoot}" ,
41
- "args" : [" --no-timeouts" , " dist/test/**/*.js" ],
42
- "outFiles" : [
43
- " ${workspaceRoot}/lib/**/*.js" ,
44
- " ${workspaceRoot}/test/**/*.js"
45
- ],
46
- "preLaunchTask" : " build" ,
47
- "sourceMaps" : true
48
14
}
49
15
]
50
16
}
Original file line number Diff line number Diff line change @@ -213,15 +213,17 @@ export class Context {
213
213
finalizeDeclarationReflection (
214
214
reflection : DeclarationReflection ,
215
215
symbol : ts . Symbol | undefined ,
216
- exportSymbol ?: ts . Symbol
216
+ exportSymbol ?: ts . Symbol ,
217
+ commentNode ?: ts . Node
217
218
) {
218
219
this . exportSymbol = exportSymbol ;
219
220
this . converter . trigger (
220
221
ConverterEvents . CREATE_DECLARATION ,
221
222
this ,
222
223
reflection ,
223
- symbol &&
224
- this . converter . getNodesForSymbol ( symbol , reflection . kind ) [ 0 ]
224
+ ( symbol &&
225
+ this . converter . getNodesForSymbol ( symbol , reflection . kind ) [ 0 ] ) ??
226
+ commentNode
225
227
) ;
226
228
this . exportSymbol = undefined ;
227
229
}
Original file line number Diff line number Diff line change @@ -323,7 +323,12 @@ export class Converter extends ChildableComponent<
323
323
void 0 ,
324
324
entryName
325
325
) ;
326
- context . finalizeDeclarationReflection ( reflection , symbol ) ;
326
+ context . finalizeDeclarationReflection (
327
+ reflection ,
328
+ symbol ,
329
+ void 0 ,
330
+ node
331
+ ) ;
327
332
moduleContext = context . withScope ( reflection ) ;
328
333
}
329
334
Original file line number Diff line number Diff line change @@ -432,12 +432,7 @@ export class NavigationBuilder {
432
432
target = target . parent ;
433
433
}
434
434
435
- if (
436
- inScope &&
437
- someModule instanceof DeclarationReflection &&
438
- someModule . children &&
439
- someModule . children . length > 0
440
- ) {
435
+ if ( inScope && someModule instanceof DeclarationReflection ) {
441
436
modules . push ( someModule ) ;
442
437
}
443
438
} ) ;
You can’t perform that action at this time.
0 commit comments