Skip to content

Commit 8b1ef28

Browse files
committed
add uui-key to global element tag name map
1 parent 91edb17 commit 8b1ef28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/uui-keyboard-shortcut/lib/uui-key.element.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ export class UUIKeyElement extends LitElement {
4141
return html`<slot @slotchange=${this._changeCase}></slot>`;
4242
}
4343
}
44+
45+
declare global {
46+
interface HTMLElementTagNameMap {
47+
'uui-key': UUIKeyElement;
48+
}
49+
}

0 commit comments

Comments
 (0)