locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
6 lines (5 loc) • 392 B
TypeScript
import type { PhpArrayLike, PhpAssoc, PhpInput, PhpList } from '../_helpers/_phpTypes.ts';
type AssociativeArray<T = PhpInput> = PhpAssoc<T>;
export declare function array_merge<T>(...args: [first: PhpList<T>, ...rest: Array<PhpList<T>>]): PhpList<T>;
export declare function array_merge<T>(...args: [first: PhpArrayLike<T>, ...rest: Array<PhpArrayLike<T>>]): AssociativeArray<T>;
export {};