Typescript and lit version change + fix form submit.

This commit is contained in:
John Livingston
2024-05-23 18:35:23 +02:00
committed by Mehdi Benadel
parent afec3d90ed
commit 0672dc24a0
5 changed files with 97 additions and 48 deletions

View File

@ -115,7 +115,7 @@ export class DynamicTableFormElement extends LitElement {
}
`;
protected createRenderRoot = (): HTMLElement | DocumentFragment => {
protected createRenderRoot = () => {
if (document.head.querySelector(`style[data-tagname="${this.tagName}"]`)) {
return this;
}

View File

@ -8,7 +8,7 @@ import { LitElement } from 'lit'
* Base class for all Custom Elements.
*/
export class LivechatElement extends LitElement {
protected createRenderRoot = (): HTMLElement | DocumentFragment => {
protected createRenderRoot = () => {
return this
}
}