UNPKG

@use-pico/cls

Version:

Type-safe, composable styling system for React, Vue, Svelte, and vanilla JS

9 lines (8 loc) 279 B
/** * Recursive proxy; used to hack the type system. * This creates an infinite chain of proxies that allows for complex type manipulation * without actually creating real objects at runtime. */ export const proxyOf: any = new Proxy(() => proxyOf, { get: () => proxyOf, });