otris / jsdoc-tsd

JSDoc template for generating TypeScript definition files based on JSDoc comments.
MIT License
29 stars 7 forks source link

false error message for items which has no parent #14

Closed wehrstedt closed 6 years ago

wehrstedt commented 6 years ago

For item's which has no parent's you get the following error message:

Can't add member 'myTestClass' to parent item 'undefined'. Unsupported parent member type: 'undefined'. Insert this item as a top level declaration```

Comment The output is correct, but the error message has to be suppressed if an item has no parent item

wehrstedt commented 6 years ago

solved with #5d1a53bce6135341cf1098ce6be5eccb84a38f81