UNPKG

@k8ts/instruments

Version:

A collection of utilities and core components for k8ts.

9 lines 430 B
import type { Kind } from "../api-kind"; export type Kinded<K extends Kind.IdentParent = Kind.IdentParent> = { kind: K; }; export type Refable<Kind extends Kind.IdentParent = Kind.IdentParent, Name extends string = string> = Kinded<Kind> & { name: Name; }; export type LiveRefable<Object extends Kinded = Kinded, Name extends string = string> = Object & Refable<Object["kind"], Name>; //# sourceMappingURL=refable.d.ts.map