fix(metadata): update package metadata and align company schema integration with latest tsclass types

This commit is contained in:
2026-05-01 18:23:23 +00:00
parent 75d64e1ebd
commit a59dbc12e5
17 changed files with 7100 additions and 3901 deletions
+1 -3
View File
@@ -3,9 +3,7 @@ import { Tag } from './websetup.classes.tag.js';
export class LinkTag extends Tag {
constructor(relArg: string, hrefArg: string) {
super();
const linkElement = !!document.querySelector("link[rel='canonical']")
? document.querySelector("link[rel='canonical']")
: document.createElement('link');
const linkElement = document.querySelector("link[rel='canonical']") ?? document.createElement('link');
linkElement.setAttribute('rel', relArg);
linkElement.setAttribute('href', hrefArg);
this.elementRef = linkElement;