Skip to content

Commit

Permalink
englercj#106 adds support for @external keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Howarth committed Nov 25, 2019
1 parent 8e8612c commit afb585a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ export class Emitter
switch (node.doclet.kind)
{
case 'class':
case 'external':
return createClass(node.doclet, children);

case 'constant':
case 'member':
if (node.doclet.isEnum)
Expand All @@ -281,7 +281,6 @@ export class Emitter
return createInterfaceMember(node.doclet);
else
return createNamespaceMember(node.doclet);

case 'callback':
case 'function':
if (node.doclet.memberof)
Expand Down
2 changes: 1 addition & 1 deletion src/typings/jsdoc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ declare interface IDocletBase {
* Specific doclet types
*/
declare interface IClassDoclet extends IDocletBase {
kind: 'class' | 'interface' | 'mixin';
kind: 'class' | 'interface' | 'mixin' | 'external';
params?: IDocletProp[];
augments?: string[];
implements?: string[];
Expand Down

0 comments on commit afb585a

Please sign in to comment.