UNPKG

stencil-quantum

Version:

Experience the quantum realm of stencil.

5 lines (4 loc) 418 B
import { Entanglement } from "../quantum"; import { TypedContextPrototype } from "./prototypes"; export declare type ImplementDecorator<T extends Entanglement<any>, K extends keyof T["keys"]> = <P extends string>(prototype: TypedContextPrototype<T, K, P>, propertyName: P) => void; export declare function Implement<T extends Entanglement<any>, K extends keyof T["keys"]>(config: T, key: K): ImplementDecorator<T, K>;