chore: Enforce interfaces for object types (#2544)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent c8e7fdd808
commit a87e5b8eeb
5 changed files with 11 additions and 6 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import { LitElement } from 'lit';
export type ConstructableLitElement = { new (...args: unknown[]): LitElement };
export interface ConstructableLitElement {
new (...args: unknown[]): LitElement;
}