Skip to content

Instantly share code, notes, and snippets.

@ddprrt
Created July 15, 2019 11:34
Show Gist options
  • Save ddprrt/2ac0ae04036cd7ec70dbda8f3ff16fc0 to your computer and use it in GitHub Desktop.
Save ddprrt/2ac0ae04036cd7ec70dbda8f3ff16fc0 to your computer and use it in GitHub Desktop.
My code shares on Twitter. As a gist. Primarily for #a11y
/**
* @typedef {Object} Article
* @property {string} title
* @property {number} price
* @property {number} vat
* @property {number} stock
* @property {string} description
*/
/** @type {Article} */
let article;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment