eca3d68eb4
Previously it did not, because this capability is not documented on usejsdoc.org. However, several people requested this feature.
32 lines
552 B
TypeScript
32 lines
552 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @strict: true
|
|
// @Filename: a.js
|
|
|
|
/** @typedef {Object} App
|
|
* @property {string} name
|
|
* @property {Object} icons
|
|
* @property {string} icons.image32
|
|
* @property {string} icons.image64
|
|
*/
|
|
var ex;
|
|
|
|
/** @type {App} */
|
|
const app = {
|
|
name: 'name',
|
|
icons: {
|
|
image32: 'x.png',
|
|
image64: 'y.png',
|
|
}
|
|
}
|
|
|
|
/** @typedef {Object} Opp
|
|
* @property {string} name
|
|
* @property {Object} oops
|
|
* @property {string} horrible
|
|
* @type {string} idea
|
|
*/
|
|
|
|
/** @type {Opp} */
|
|
var mistake;
|