feat: add type to propStringMap

This commit is contained in:
Ayo 2023-12-05 17:10:40 +01:00
parent da85a71aec
commit 2176560140

View file

@ -24,7 +24,7 @@ export class WebComponent extends HTMLElement {
* Read-only property containing camelCase counterparts of observed attributes.
* @see https://www.npmjs.com/package/web-component-base#prop-access
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
* @typedef {{[name: string]: any}} PropStringMap
* @typedef {{[name: string]: string | number | boolean}} PropStringMap
* @type {PropStringMap}
*/
get props() {