2018-03-29 18:39:23 +02:00
|
|
|
// @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
|
|
|
|
*/
|
2018-06-22 01:12:55 +02:00
|
|
|
var intercessor = 1
|
2018-03-29 18:39:23 +02:00
|
|
|
|
|
|
|
/** @type {Opp} */
|
|
|
|
var mistake;
|
2018-06-22 01:12:55 +02:00
|
|
|
|
|
|
|
/** @typedef {Object} Upp
|
|
|
|
* @property {string} name
|
|
|
|
* @property {Object} not
|
|
|
|
* @property {string} nested
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @type {Upp} */
|
|
|
|
var sala = { name: 'uppsala', not: 0, nested: "ok" };
|
|
|
|
sala.name
|
|
|
|
sala.not
|
|
|
|
sala.nested
|