found some more to remove "as any" from customElements.define() as it excludes widget from the documentation

not sure why it was added there in the first place for some widgets
This commit is contained in:
ralf 2024-06-17 10:22:00 +02:00
parent 645889d899
commit cf96aa5d98
2 changed files with 2 additions and 2 deletions

View File

@ -30,4 +30,4 @@ export class Et2AppIcon extends Et2Image
} }
} }
customElements.define("et2-appicon", Et2AppIcon as any); customElements.define("et2-appicon", Et2AppIcon);

View File

@ -49,4 +49,4 @@ export class Et2ImageExpose extends ExposeMixin(Et2Image) implements et2_IDetach
} }
} }
customElements.define("et2-image-expose", Et2ImageExpose as any, {extends: 'img'}); customElements.define("et2-image-expose", Et2ImageExpose, {extends: 'img'});