UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

17 lines (16 loc) 364 B
/** * @module Utilities */ /** * * IMPORT_PATH: `"@daiso-tech/core/utilities"` */ export type OneOrMore<TItem> = TItem | Iterable<TItem>; /** * @internal */ export declare function resolveOneOrMore<TType>(value: OneOrMore<TType>): TType[]; /** * @internal */ export declare function resolveOneOrMoreStr(name: OneOrMore<string>, joinStr?: string): string;