diff --git a/README.md b/README.md index 35a4ee1..6f93725 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ linqes

dotnet-version dotnet-version - npm + npm license

diff --git a/package.json b/package.json index 20ade83..7b0eefb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "linqes", - "version" : "1.0.4", + "version" : "1.0.5", "description" : "linq in es, automated extensions on prototype", "main" : "index.js", "types" : "types/index.d.ts", diff --git a/types/index.d.ts b/types/index.d.ts index 0dc8eb9..e3f0843 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -578,6 +578,8 @@ declare interface Array { */ clear() : void + concat(source : IEnumerable) : IEnumerable + /** * Determines whether the array contains elements that match the conditions defined by the specified predicate. * @param match The delegate that defines the conditions of the elements to search for. @@ -621,6 +623,14 @@ declare interface Array { * @param index The zero-based index of the element to remove. */ removeAt(index : number) : T | undefined + + join( + inner : IEnumerable, + keySelector : (item : T) => TKey, + innerKeySelector : (item : TInner) => TKey, + resultSelector : (outer : T, inner : TInner) => TResult, + comparer? : ((outerKey : TKey, innerKey : TKey) => boolean)) : IEnumerable + } /**