Closed thepassle closed 3 years ago
class MyElement extends HTMLElement { /** * @type {string} - description */ prop = 'foo'; constructor() { super(); /** @type {number} - description */ // if duplicate description/type, overwrite the description/type above this.prop = 'foo'; } }
${import('./module.js').SomeType}
SomeType
./module.js
implemented in https://github.com/open-wc/custom-elements-json/pull/27
${import('./module.js').SomeType}
. Get typeSomeType
, add reference to./module.js