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.

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