UNPKG

@ark-ui/solid

Version:

A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.

9 lines (6 loc) 316 B
import { Accessor } from 'solid-js'; type Assign<T, U> = Omit<T, keyof U> & U; type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>; type MaybeAccessor<T> = Accessor<T> | T; type MaybePromise<T> = T | Promise<T>; export type { Assign as A, MaybeAccessor as M, Optional as O, MaybePromise as a };