uni-ticket-system/node_modules/licia/map.d.ts
2023-12-05 10:11:10 +08:00

15 lines
335 B
TypeScript

import types = require('./types');
declare function map<T, TResult>(
list: types.List<T>,
iterator: types.ListIterator<T, TResult>,
context?: any
): TResult[];
declare function map<T, TResult>(
object: types.Dictionary<T>,
iterator: types.ObjectIterator<T, TResult>,
context?: any
): TResult[];
export = map;