UNPKG

@surface/custom-element

Version:

Provides support of directives and data binding on custom elements.

7 lines (6 loc) 234 B
import type { Constructor } from "@surface/core"; /** * Styles adopted by the shadow root. * @param styles Styles. */ export default function styles(...styles: string[]): <T extends Constructor<HTMLElement>>(target: T) => T;