z-utils-ts
Version:
使用TypeScript编写的工具函数库
16 lines (15 loc) • 309 B
TypeScript
declare const users: {
id: number;
name: string;
}[];
declare const orders: {
id: number;
userId: number;
product: string;
}[];
declare function associativeArray(arr1: any[], arr2: any[], key1: string, key2: string): {
userName: any;
}[];
declare const data: {
userName: any;
}[];