Skip to content

Commit be929bb

Browse files
natevociblakeembrey
authored andcommitted
Check for symbol.declarations (#518)
1 parent 81779eb commit be929bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/converter/nodes/export.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ExportConverter extends ConverterNodeComponent<ts.ExportAssignment>
2323
let type = context.getTypeAtLocation(node.expression);
2424
symbol = type ? type.symbol : undefined;
2525
}
26-
if (symbol) {
26+
if (symbol && symbol.declarations) {
2727
const project = context.project;
2828
// if the symbol declarations are undefined due to an export, we skip it
2929
// fixes https://github.com/TypeStrong/typedoc/issues/513

0 commit comments

Comments
 (0)