UNPKG

anux-common

Version:

[![Build Status](https://travis-ci.com/Anupheaus/anux-common.svg?branch=master)](https://travis-ci.com/Anupheaus/anux-common) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/dd0e0bd3a96247a5a78c02a812f949f8)](https://www.codacy.com/app/Anuphea

4 lines (3 loc) 243 B
export declare type SimpleMapDelegate<T, V = unknown> = (item: T) => V; export declare type MapDelegate<T, V = unknown> = (item: T, index: number) => V; export declare type GroupingDelegate<T, K> = (item: T, index: number, keys: K[]) => K;