-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already created
Description
-
{Object}has typeany, it should be{}
// @ts-check
/**
* @type {Object}
*/
var bar;-
Object.<type1, type2>has typeany(Support Object.<type1, type2> JSDoc notation for index signatures #15105)
// @ts-check
/**
* @type {Object.<string, number>} obj
*/
var bar;- Specify property in object type
// @ts-check
/**
* @type {Object} myObj
* @type {number} myObj.a
*/
var bar;- Using with
@callback
// @ts-check
/**
* @callback myCallback
* @param {number} x - ...
*/
/** @type {myCallback} */
var cb;Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already created