Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,11 @@ Runs the given tasks in a sequence.

<!-- prettier-ignore-start -->
```typescript
(tasks: (() => Promise<any>)[]) => Promise<any[]>
(
tasks: {
(): Promise<any>;
}[]
) => Promise<any[]>
```
<!-- prettier-ignore-end -->

Expand Down Expand Up @@ -2430,7 +2434,11 @@ Asserts given conditions.
```typescript
(
condition: boolean,
callbackOrMessage: string | (() => void)
callbackOrMessage:
| {
(): void;
}
| string
) => void
```
<!-- prettier-ignore-end -->
Expand Down Expand Up @@ -3746,7 +3754,7 @@ Calculates the median of the values. If there is an even number of items, the av

<!-- prettier-ignore-start -->
```typescript
(xs?: number[]) => number
(xs?: number[]) => number | undefined
```
<!-- prettier-ignore-end -->

Expand Down
6 changes: 5 additions & 1 deletion async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ Runs the given tasks in a sequence.

<!-- prettier-ignore-start -->
```typescript
(tasks: (() => Promise<any>)[]) => Promise<any[]>
(
tasks: {
(): Promise<any>;
}[]
) => Promise<any[]>
```
<!-- prettier-ignore-end -->

Expand Down
2 changes: 1 addition & 1 deletion async/sequence.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sequence",
"description": "Runs the given tasks in a sequence.",
"signature": "(tasks: (() => Promise<any>)[]) => Promise<any[]>",
"signature": "(\n tasks: {\n (): Promise<any>;\n }[]\n) => Promise<any[]>",
"examples": [
{
"language": "javascript",
Expand Down
6 changes: 5 additions & 1 deletion async/sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Runs the given tasks in a sequence.

<!-- prettier-ignore-start -->
```typescript
(tasks: (() => Promise<any>)[]) => Promise<any[]>
(
tasks: {
(): Promise<any>;
}[]
) => Promise<any[]>
```
<!-- prettier-ignore-end -->

Expand Down
6 changes: 5 additions & 1 deletion debug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ Asserts given conditions.
```typescript
(
condition: boolean,
callbackOrMessage: string | (() => void)
callbackOrMessage:
| {
(): void;
}
| string
) => void
```
<!-- prettier-ignore-end -->
Expand Down
2 changes: 1 addition & 1 deletion debug/assert.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "assert",
"description": "Asserts given conditions.",
"signature": "(\n condition: boolean,\n callbackOrMessage: string | (() => void)\n) => void",
"signature": "(\n condition: boolean,\n callbackOrMessage:\n | {\n (): void;\n }\n | string\n) => void",
"examples": [
{
"language": "javascript",
Expand Down
6 changes: 5 additions & 1 deletion debug/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ Asserts given conditions.
```typescript
(
condition: boolean,
callbackOrMessage: string | (() => void)
callbackOrMessage:
| {
(): void;
}
| string
) => void
```
<!-- prettier-ignore-end -->
Expand Down
2 changes: 1 addition & 1 deletion math/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Calculates the median of the values. If there is an even number of items, the av

<!-- prettier-ignore-start -->
```typescript
(xs?: number[]) => number
(xs?: number[]) => number | undefined
```
<!-- prettier-ignore-end -->

Expand Down
2 changes: 1 addition & 1 deletion math/median.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "median",
"description": "Calculates the median of the values. If there is an even number of items, the average of the middle ones is returned.",
"signature": "(xs?: number[]) => number",
"signature": "(xs?: number[]) => number | undefined",
"examples": [
{
"language": "javascript",
Expand Down
2 changes: 1 addition & 1 deletion math/median.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Calculates the median of the values. If there is an even number of items, the av

<!-- prettier-ignore-start -->
```typescript
(xs?: number[]) => number
(xs?: number[]) => number | undefined
```
<!-- prettier-ignore-end -->

Expand Down
Loading