google / tern-closure

A Tern plugin adding Closure support.
Apache License 2.0
33 stars 18 forks source link

Issues with JSDoc types missing braces. #25

Open jgiles opened 10 years ago

jgiles commented 10 years ago

The Closure compiler apparently accepts JSDoc like this:

/**
 * Immutable empty node list.
 * @constructor
 * @extends goog.ds.BasicNodeList
 */
goog.ds.EmptyNodeList = function() {

Example taken from the annotation documentation

goog.ds.BasicNodeList is not contained in braces.

Doctrine doesn't seem to like this, and does not populate the type field for that extends tag.