/**
 * @type {string}
 */
var s;

/** @type {Window} */
var win;

/** @type {PromiseLike} */
var promisedString;

// You can specify an HTML Element with DOM properties
/** @type {HTMLElement} */
var myElement = document.querySelector(selector);
element.dataset.myData = '';