Skip to content

Instantly share code, notes, and snippets.

@ddprrt
Created July 15, 2019 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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