I have several typedefs that all include these fields:
* @property {String} field1 Foo bar 1
* @property {Number} field2 Foo bar 2
* @property {Number} field3 Foo bar 3
* @property {String} field4 Foo bar 4
Is there a way to define them once and shared them across the typedefs? For example, I would love to do something along the lines of:
/**
* @typedef GenericFields
* @property {String} field1 Foo bar 1
* @property {Number} field2 Foo bar 2
* @property {Number} field3 Foo bar 3
* @property {String} field4 Foo bar 4
*/
/**
* @typedef SomeType
* @property {String} nonGenericField Bar foo
* ...{GenericFields}
*/
Is something like that possible?