UNPKG

@reown/appkit-ui

Version:

The full stack toolkit to build onchain app UX.

18 lines (17 loc) 633 B
type Constructor<T> = new (...args: any[]) => T; interface ClassDescriptor { kind: 'class'; elements: ClassElement[]; finisher?: <T>(clazz: Constructor<T>) => undefined | Constructor<T>; } interface ClassElement { kind: 'field' | 'method'; key: PropertyKey; placement: 'static' | 'prototype' | 'own'; initializer?: Function; extras?: ClassElement[]; finisher?: <T>(clazz: Constructor<T>) => undefined | Constructor<T>; descriptor?: PropertyDescriptor; } export declare function customElement(tagName: string): (classOrDescriptor: Constructor<HTMLElement> | ClassDescriptor) => any; export {};