Skip to content

Commit d651a6a

Browse files
committed
Fix declaration
1 parent 04b7197 commit d651a6a

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ linqes
1313
<p align="center">
1414
<img alt="dotnet-version" src="https://img.shields.io/badge/JavaScript-ES6-EEEE00.svg"/>
1515
<img alt="dotnet-version" src="https://img.shields.io/badge/TypeScript-Declare-blue.svg"/>
16-
<img alt="npm" src="https://img.shields.io/badge/npm-v1.0.4-FF3300.svg"/>
16+
<img alt="npm" src="https://img.shields.io/badge/npm-v1.0.5-FF3300.svg"/>
1717
<img alt="license" src="https://img.shields.io/badge/license-MIT-FF00FF.svg"/>
1818
</p>
1919

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "linqes",
3-
"version" : "1.0.4",
3+
"version" : "1.0.5",
44
"description" : "linq in es, automated extensions on prototype",
55
"main" : "index.js",
66
"types" : "types/index.d.ts",

types/index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ declare interface Array<T> {
578578
*/
579579
clear() : void
580580

581+
concat(source : IEnumerable<T>) : IEnumerable<T>
582+
581583
/**
582584
* Determines whether the array contains elements that match the conditions defined by the specified predicate.
583585
* @param match The delegate that defines the conditions of the elements to search for.
@@ -621,6 +623,14 @@ declare interface Array<T> {
621623
* @param index The zero-based index of the element to remove.
622624
*/
623625
removeAt(index : number) : T | undefined
626+
627+
join<TInner, TKey, TResult>(
628+
inner : IEnumerable<TInner>,
629+
keySelector : (item : T) => TKey,
630+
innerKeySelector : (item : TInner) => TKey,
631+
resultSelector : (outer : T, inner : TInner) => TResult,
632+
comparer? : ((outerKey : TKey, innerKey : TKey) => boolean)) : IEnumerable<TResult>
633+
624634
}
625635

626636
/**

0 commit comments

Comments
 (0)