Skip to content

Commit d5dabe9

Browse files
fix: all typedoc warnings (#49)
1 parent eb529c7 commit d5dabe9

File tree

2 files changed

+78
-71
lines changed

2 files changed

+78
-71
lines changed

src/operations/reducers.d.ts

+75-67
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export type RawOptionalReducerWithoutFinish<Value = unknown, This = unknown> = {
2727

2828
/**
2929
* A reducer that reduces by combining pairs of values using
30-
* {@link RawOptionalReducerWithFinish.add} and then tranforming the final value
31-
* using {@link RawOptionalReducerWithFinish.finish}.
30+
* {@link RawOptionalReducerWithoutFinish.add} and then transforming the final
31+
* value using {@link RawOptionalReducerWithFinish.finish}.
3232
*
3333
* @category Reducers
3434
* @since v2.0.0
@@ -43,8 +43,8 @@ export type RawOptionalReducerWithFinish<
4343

4444
/**
4545
* A reducer that reduces by combining pairs of values using
46-
* {@link OptionalReducer.add} and then tranforming the final value using
47-
* {@link OptionalReducer.finish}.
46+
* {@link RawOptionalReducerWithoutFinish.add} and then transforming the final
47+
* value using {@link RawOptionalReducerWithFinish.finish}.
4848
*
4949
* @category Reducers
5050
* @since v2.0.0
@@ -73,9 +73,9 @@ export type RawReducerWithoutFinish<
7373

7474
/**
7575
* A reducer that reduces by creating an initial accumulator using
76-
* {@link RawReducerWithFinish.create}, then adding values to the accumulator
77-
* values using {@link RawReducerWithFinish.add}, and then tranforming the final
78-
* accumulator using {@link RawReducerWithFinish.finish}.
76+
* {@link RawReducerWithoutFinish.create}, then adding values to the accumulator
77+
* values using {@link RawReducerWithoutFinish.add}, and then transforming the
78+
* final accumulator using {@link RawReducerWithFinish.finish}.
7979
*
8080
* @category Reducers
8181
* @since v2.0.0
@@ -91,9 +91,9 @@ export type RawReducerWithFinish<
9191

9292
/**
9393
* A reducer that reduces by creating an initial accumulator using
94-
* {@link Reducer.create}, then adding values to the accumulator values using
95-
* {@link Reducer.add}, and then tranforming the final accumulator using
96-
* {@link Reducer.finish}.
94+
* {@link RawReducerWithoutFinish.create}, then adding values to the accumulator
95+
* values using {@link RawReducerWithoutFinish.add}, and then transforming the
96+
* final accumulator using {@link RawReducerWithFinish.finish}.
9797
*
9898
* @category Reducers
9999
* @since v2.0.0
@@ -106,8 +106,8 @@ export type Reducer<
106106

107107
/**
108108
* A keyed reducer that reduces by creating an initial accumulator using
109-
* {@link RawKeyedReducer.create} and then adding key-value pairs to the
110-
* accumulator values using {@link RawKeyedReducer.add}. The accumulator can be
109+
* {@link RawReducerWithoutFinish.create} and then adding key-value pairs to the
110+
* accumulator values using {@link RawReducerWithoutFinish.add}. The accumulator can be
111111
* queried for values by key using {@link RawKeyedReducer.get}.
112112
*
113113
* @category Reducers
@@ -124,9 +124,9 @@ export type RawKeyedReducer<
124124

125125
/**
126126
* A keyed reducer that reduces by creating an initial accumulator using
127-
* {@link KeyedReducer.create} and then adding key-value pairs to the
128-
* accumulator values using {@link KeyedReducer.add}. The accumulator can be
129-
* queried for values by key using {@link KeyedReducer.get}.
127+
* {@link RawReducerWithoutFinish.create} and then adding key-value pairs to the
128+
* accumulator values using {@link RawReducerWithoutFinish.add}. The accumulator
129+
* can be queried for values by key using {@link RawKeyedReducer.get}.
130130
*
131131
* @category Reducers
132132
* @since v2.0.0
@@ -165,8 +165,8 @@ export type RawAsyncOptionalReducerWithoutFinish<
165165

166166
/**
167167
* An async reducer that reduces by combining pairs of values using
168-
* {@link RawAsyncOptionalReducerWithFinish.add} and then tranforming the final
169-
* value using {@link RawAsyncOptionalReducerWithFinish.finish}.
168+
* {@link RawAsyncOptionalReducerWithoutFinish.add} and then transforming the
169+
* final value using {@link RawAsyncOptionalReducerWithFinish.finish}.
170170
*
171171
* @category Reducers
172172
* @since v2.0.0
@@ -181,8 +181,8 @@ export type RawAsyncOptionalReducerWithFinish<
181181

182182
/**
183183
* An async reducer that reduces by combining pairs of values using
184-
* {@link AsyncOptionalReducer.add} and then tranforming the final value using
185-
* {@link AsyncOptionalReducer.finish}.
184+
* {@link RawAsyncOptionalReducerWithoutFinish.add} and then transforming the
185+
* final value using {@link RawAsyncOptionalReducerWithFinish.finish}.
186186
*
187187
* @category Reducers
188188
* @since v2.0.0
@@ -214,12 +214,12 @@ export type RawAsyncReducerWithoutFinish<
214214

215215
/**
216216
* An async reducer that reduces by creating an initial accumulator using
217-
* {@link RawAsyncReducerWithFinish.create}, then adding values to the
218-
* accumulator values using {@link RawAsyncReducerWithFinish.add}, and then
219-
* tranforming the final accumulator using
217+
* {@link RawAsyncReducerWithoutFinish.create}, then adding values to the
218+
* accumulator values using {@link RawAsyncReducerWithoutFinish.add}, and then
219+
* transforming the final accumulator using
220220
* {@link RawAsyncReducerWithFinish.finish}. The async
221221
* reducer is optionally able to combine pairs of accumulators using
222-
* {@link RawAsyncReducerWithFinish.combine}.
222+
* {@link RawAsyncReducerWithoutFinish.combine}.
223223
*
224224
* @category Reducers
225225
* @since v2.0.0
@@ -235,10 +235,12 @@ export type RawAsyncReducerWithFinish<
235235

236236
/**
237237
* An async reducer that reduces by creating an initial accumulator using
238-
* {@link AsyncReducer.create}, then adding values to the accumulator values
239-
* using {@link AsyncReducer.add}, and then tranforming the final accumulator
240-
* using {@link AsyncReducer.finish}. The async reducer is optionally able to
241-
* combine pairs of accumulators using {@link AsyncReducer.combine}.
238+
* {@link RawAsyncReducerWithoutFinish.create}, then adding values to the
239+
* accumulator values using {@link RawAsyncReducerWithoutFinish.add}, and then
240+
* transforming the final accumulator using
241+
* {@link RawAsyncReducerWithFinish.finish}. The async reducer is optionally
242+
* able to combine pairs of accumulators using
243+
* {@link RawAsyncReducerWithoutFinish.combine}.
242244
*
243245
* @category Reducers
244246
* @since v2.0.0
@@ -251,11 +253,11 @@ export type AsyncReducer<
251253

252254
/**
253255
* An async keyed reducer that reduces by creating an initial accumulator using
254-
* {@link RawAsyncKeyedReducer.create} and then adding key-value pairs to the
255-
* accumulator values using {@link RawAsyncKeyedReducer.add}. The async keyed
256-
* reducer is optionally able to combine pairs of accumulators using
257-
* {@link RawAsyncKeyedReducer.combine}. The accumulator can be queried for
258-
* values by key using {@link RawAsyncKeyedReducer.get}.
256+
* {@link RawAsyncReducerWithoutFinish.create} and then adding key-value pairs
257+
* to the accumulator values using {@link RawAsyncReducerWithoutFinish.add}. The
258+
* async keyed reducer is optionally able to combine pairs of accumulators using
259+
* {@link RawAsyncReducerWithoutFinish.combine}. The accumulator can be queried
260+
* for values by key using {@link RawAsyncKeyedReducer.get}.
259261
*
260262
* @category Reducers
261263
* @since v2.0.0
@@ -275,11 +277,11 @@ export type RawAsyncKeyedReducer<
275277

276278
/**
277279
* An async keyed reducer that reduces by creating an initial accumulator using
278-
* {@link AsyncKeyedReducer.create} and then adding key-value pairs to the
279-
* accumulator values using {@link AsyncKeyedReducer.add}. The async keyed
280-
* reducer is optionally able to combine pairs of accumulators using
281-
* {@link AsyncKeyedReducer.combine}. The accumulator can be queried for values
282-
* by key using {@link AsyncKeyedReducer.get}.
280+
* {@link RawAsyncReducerWithoutFinish.create} and then adding key-value pairs
281+
* to the accumulator values using {@link RawAsyncReducerWithoutFinish.add}. The
282+
* async keyed reducer is optionally able to combine pairs of accumulators using
283+
* {@link RawAsyncReducerWithoutFinish.combine}. The accumulator can be queried
284+
* for values by key using {@link RawAsyncKeyedReducer.get}.
283285
*
284286
* @category Reducers
285287
* @since v2.0.0
@@ -467,15 +469,17 @@ export const normalizeReducer: {
467469
/**
468470
* Returns the result of reducing `iterable` using `reducer`.
469471
*
470-
* An initial accumulator is created using {@link Reducer.create}. Then each
471-
* value in `iterable` is added to the accumulator and the current accumulator
472-
* is updated using {@link Reducer.add}. Finally, the resulting accumulator is
473-
* transformed using {@link Reducer.finish} if specified.
472+
* An initial accumulator is created using
473+
* {@link RawReducerWithoutFinish.create}. Then each value in `iterable` is
474+
* added to the accumulator and the current accumulator is updated using
475+
* {@link RawReducerWithoutFinish.add}. Finally, the resulting accumulator is
476+
* transformed using {@link RawReducerWithFinish.finish} if specified.
474477
*
475-
* If `reducer` is an optional reducer (no {@link Reducer.create} method), then
476-
* an empty iterable is returned if `iterable` is empty. Otherwise, an iterable
477-
* containing the result of reducing using the first value of the iterable as
478-
* the initial accumulator is returned.
478+
* If `reducer` is an optional reducer (no
479+
* {@link RawReducerWithoutFinish.create} method), then an empty iterable is
480+
* returned if `iterable` is empty. Otherwise, an iterable containing the result
481+
* of reducing using the first value of the iterable as the initial accumulator
482+
* is returned.
479483
*
480484
* Like `Array.prototype.reduce`, but for iterables.
481485
*
@@ -548,19 +552,21 @@ export const reduce: {
548552
* Returns the result of reducing the `asyncIterable` using `asyncReducer`.
549553
*
550554
* Informally, an initial accumulator is created using
551-
* {@link AsyncReducer.create}. Then each value in `asyncIterable` is added to
552-
* the accumulator and the current accumulator is updated using
553-
* {@link AsyncReducer.add}. Finally, the resulting accumulator is transformed
554-
* using {@link AsyncReducer.finish} if specified. Multiple accumulators may be
555-
* created, added to, and then combined if supported via
556-
* {@link AsyncReducer.combine} and the next value of `asyncIterable` is ready
557-
* before promises from {@link AsyncReducer.add} resolve.
555+
* {@link RawAsyncReducerWithoutFinish.create}. Then each value in
556+
* `asyncIterable` is added to the accumulator and the current accumulator is
557+
* updated using {@link RawAsyncReducerWithoutFinish.add}. Finally, the
558+
* resulting accumulator is transformed using
559+
* {@link RawAsyncReducerWithFinish.finish} if specified. Multiple accumulators
560+
* may be created, added to, and then combined if supported via
561+
* {@link RawAsyncReducerWithoutFinish.combine} and the next value of
562+
* `asyncIterable` is ready before promises from
563+
* {@link RawAsyncReducerWithoutFinish.add} resolve.
558564
*
559565
* If `asyncReducer` is an async optional reducer (no
560-
* {@link AsyncReducer.create} method), then an empty async iterable is returned
561-
* if `asyncIterable` is empty. Otherwise, an async iterable containing the
562-
* result of reducing using the first value of the async iterable as the initial
563-
* accumulator is returned.
566+
* {@link RawAsyncReducerWithoutFinish.create} method), then an empty async
567+
* iterable is returned if `asyncIterable` is empty. Otherwise, an async
568+
* iterable containing the result of reducing using the first value of the async
569+
* iterable as the initial accumulator is returned.
564570
*
565571
* Like `Array.prototype.reduce`, but for async iterables.
566572
*
@@ -649,19 +655,21 @@ export const reduceAsync: {
649655
* Returns the result of reducing the `concurIterable` using `asyncReducer`.
650656
*
651657
* Informally, an initial accumulator is created using
652-
* {@link AsyncReducer.create}. Then each value in `concurIterable` is added to
653-
* the accumulator and the current accumulator is updated using
654-
* {@link AsyncReducer.add}. Finally, the resulting accumulator is transformed
655-
* using {@link AsyncReducer.finish} if specified. Multiple accumulators may be
656-
* created, added to, and then combined if supported via
657-
* {@link AsyncReducer.combine} and the next value of `concurIterable` is ready
658-
* before promises from {@link AsyncReducer.add} resolve.
658+
* {@link RawAsyncReducerWithoutFinish.create}. Then each value in
659+
* `concurIterable` is added to the accumulator and the current accumulator is
660+
* updated using {@link RawAsyncReducerWithoutFinish.add}. Finally, the
661+
* resulting accumulator is transformed using
662+
* {@link RawAsyncReducerWithFinish.finish} if specified. Multiple accumulators
663+
* may be created, added to, and then combined if supported via
664+
* {@link RawAsyncReducerWithoutFinish.combine} and the next value of
665+
* `concurIterable` is ready before promises from
666+
* {@link RawAsyncReducerWithoutFinish.add} resolve.
659667
*
660668
* If `asyncReducer` is an async optional reducer (no
661-
* {@link AsyncReducer.create} method), then an empty concur iterable is
662-
* returned if `concurIterable` is empty. Otherwise, an concur iterable
663-
* containing the result of reducing using the first value of the concur
664-
* iterable as the initial accumulator is returned.
669+
* {@link RawAsyncReducerWithoutFinish.create} method), then an empty concur
670+
* iterable is returned if `concurIterable` is empty. Otherwise, an concur
671+
* iterable containing the result of reducing using the first value of the
672+
* concur iterable as the initial accumulator is returned.
665673
*
666674
* Like `Array.prototype.reduce`, but for concur iterables.
667675
*

website/typedoc.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
"readme": "none",
77
"excludeInternal": true,
88
"intentionallyNotExported": [
9-
"CheckNumericLiteral",
109
"Curried",
10+
"Integer",
1111
"MaybePromiseLike",
12-
"NonNegative",
13-
"PositiveInteger",
14-
"StrictInteger"
12+
"NonNegativeInteger",
13+
"PositiveInteger"
1514
],
1615
"indexFormat": "htmlTable"
1716
}

0 commit comments

Comments
 (0)