We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3996e61 + a9ac510 commit a3949dfCopy full SHA for a3949df
src/tab-container-element.ts
@@ -1,5 +1,5 @@
1
const HTMLElement = globalThis.HTMLElement || (null as unknown as (typeof window)['HTMLElement'])
2
-const manualSlotsSupported = 'assign' in HTMLSlotElement.prototype
+const manualSlotsSupported = 'assign' in (globalThis.HTMLSlotElement?.prototype || {})
3
4
export class TabContainerChangeEvent extends Event {
5
constructor(type: string, {tab, panel, ...init}: EventInit & {tab?: Element; panel?: Element}) {
0 commit comments