Using JSDuck for the documentation of my ExtJS application, I try to add a configuration that has to be String[8]:
/**
* @cfg {String[8]} FooColors The eight colors to use for foo. All CSS color formats (Hex, RGB, RGBA, color names...) are valid.
*/
The error is
incorrect type syntax String[8]
Using {String}
instead of {String[8]}
, everything works; so the issue is the square brackets. But what syntax do I need to use?
I have not found any help in the type definition docs.