@blockquote-web-components/blockquote-mixin-slot-content
Version:
Webcomponent blockquote-mixin-slot-content following open-wc recommendations
20 lines (16 loc) • 510 B
TypeScript
type CustomElement = HTMLElement & {
adoptedCallback?(): void;
attributeChangedCallback?(
attributeName: string,
oldValue: unknown,
newValue: unknown,
namespace?: string
): void;
connectedCallback?(): void;
disconnectedCallback?(): void;
};
interface CustomElementConstructor {
new (...params: any[]): HTMLElement & CustomElement;
}
// type Constructor<T = {}> = new (...args: any[]) => T;
export declare function MixinBase<T extends CustomElementConstructor>(superclass: T): T;