hegemonic / catharsis

A JavaScript parser for Google Closure Compiler and JSDoc type expressions.
MIT License
54 stars 14 forks source link

Allow nullable/non-nullable modifier on repeatable param #26

Closed hegemonic closed 10 years ago

hegemonic commented 10 years ago

Closure Compiler allows type expressions like ...!string (a repeatable, non-nullable string). We need to support these as well.

Originally reported as jsdoc3/jsdoc#502.

hegemonic commented 10 years ago

While we're at it, make sure we support repeatable versions of all our types.

hegemonic commented 10 years ago

Turns out that we were extremely lacking in support for repeatable types. I verified that Closure Compiler allows the repeatable modifier everywhere you'd expect.