Skip to content

Commit 403516d

Browse files
committed
Prepare for release
1 parent 63cd28d commit 403516d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linq-to-typescript",
3-
"version": "12.0.0-beta1",
3+
"version": "12.0.0",
44
"description": "LINQ ported to TypeScript",
55
"type": "module",
66
"exports": {

src/types/IAsyncParallel.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,27 +169,37 @@ export interface IAsyncParallel<TSource> extends AsyncIterable<TSource> {
169169
lastOrDefault(predicate?: (x: TSource) => boolean): Promise<TSource | null>
170170
lastOrDefaultAsync(predicate: (x: TSource) => Promise<boolean>): Promise<TSource | null>
171171
/**
172+
* Returns the maximum value in a sequence of values.
172173
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
173174
* @param this Async Iteration of Numbers
174175
*/
175176
max(this: IAsyncParallel<number>): Promise<number>
176177
/**
178+
* Invokes a transform function on each element of a sequence and returns the maximum value.
179+
* @param selector A transform function to apply to each element.
177180
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
178181
*/
179182
max(selector: (x: TSource) => number): Promise<number>
180183
/**
184+
* Invokes an async transform function on each element of a sequence and returns the maximum value.
185+
* @param selector A transform function to apply to each element.
181186
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
182187
*/
183188
maxAsync(selector: (x: TSource) => Promise<number>): Promise<number>
184189
/**
190+
* Returns the minimum value in a sequence of values.
185191
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
186192
*/
187193
min(this: IAsyncParallel<number>): Promise<number>
188194
/**
195+
* Invokes a transform function on each element of a sequence and returns the minimum value.
196+
* @param selector A transform function to apply to each element.
189197
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
190198
*/
191199
min(selector: (x: TSource) => number): Promise<number>
192200
/**
201+
* Invokes a transform function on each element of a sequence and returns the minimum value.
202+
* @param selector A transform function to apply to each element.
193203
* @throws {import('../types/InvalidOperationException')} Sequence contains no elements
194204
*/
195205
minAsync(selector: (x: TSource) => Promise<number>): Promise<number>

0 commit comments

Comments
 (0)