UNPKG

@walts81/linq-ts

Version:

Typescript/Javascript LINQ implementation library

7 lines (6 loc) 280 B
declare global { interface Array<T> { selectMany<TResult>(this: Array<T>, expression: (item: T, index?: number) => TResult[]): TResult[]; } } export declare function selectMany<T, TResult>(this: T[], expression: (item: T, index?: number) => TResult[]): TResult[];