feat: assign DOMStringMap type to props
This commit is contained in:
parent
1fb893a03f
commit
463136eea8
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class WebComponent extends HTMLElement {
|
|||
* A camelCase counterpart using `WebComponent.props` will give read/write access to any attribute, with or without the `data-*` prefix.
|
||||
* @see https://www.npmjs.com/package/web-component-base#prop-access
|
||||
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
|
||||
*
|
||||
* @type {DOMStringMap}
|
||||
* @example
|
||||
*
|
||||
* class HelloWorld extends WebComponent {
|
||||
|
|
Loading…
Reference in a new issue