UNPKG

@gecut/mixins

Version:

A tiny, TypeScript-powered package of hyper-fast LitElement mixins. Enhance your web components with swift, type-safe functionality that’s easy to integrate.

8 lines 387 B
import { GecutLogger } from '@gecut/logger'; import { LitElement } from 'lit'; import type { Constructor } from '@gecut/types'; export declare class LoggerMixinInterface extends LitElement { protected log: GecutLogger; } export declare function LoggerMixin<T extends Constructor<LitElement>>(superClass: T): Constructor<LoggerMixinInterface> & T; //# sourceMappingURL=logger.d.ts.map