Skip to content

Commit 7adabb5

Browse files
committed
docs: Update heading levels
1 parent 2fe1564 commit 7adabb5

32 files changed

+36
-36
lines changed

docs/ja/reference/array/filterAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ const items = await filterAsync(largeArray, async item => await validateItem(ite
4444
- `options` (`FilterAsyncOptions`, オプショナル):並行実行を制御するオプションです。
4545
- `concurrency` (`number`, オプショナル):同時に実行できる最大操作数です。指定しない場合、すべての操作が同時に実行されます。
4646

47-
### 戻り値
47+
#### 戻り値
4848

4949
(`Promise<T[]>`):条件関数が真と評価される値を返した要素のみを含む新しい配列のPromiseを返します。

docs/ja/reference/array/flatMapAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ const products = await flatMapAsync(categories, async category => await fetchPro
4646
- `options` (`FlatMapAsyncOptions`, オプショナル):並行実行を制御するオプションです。
4747
- `concurrency` (`number`, オプショナル):同時に実行できる最大操作数です。指定しない場合、すべての操作が同時に実行されます。
4848

49-
### 戻り値
49+
#### 戻り値
5050

5151
(`Promise<R[]>`):1レベル平坦化された変換値の配列のPromiseを返します。

docs/ja/reference/array/forEachAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ await forEachAsync(files, async file => await uploadFile(file), { concurrency: 1
4646
- `options` (`ForEachAsyncOptions`, オプショナル):並行実行を制御するオプションです。
4747
- `concurrency` (`number`, オプショナル):同時に実行できる最大操作数です。指定しない場合、すべての操作が同時に実行されます。
4848

49-
### 戻り値
49+
#### 戻り値
5050

5151
(`Promise<void>`):すべての操作が完了したときに解決されるPromiseを返します。

docs/ja/reference/array/limitAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ await Promise.all(items.map(item => limitedProcess(item)));
4646
- `callback` (`F extends (...args: any[]) => Promise<any>`):並行実行数を制限する非同期関数です。
4747
- `concurrency` (`number`):同時に実行できる最大操作数です。
4848

49-
### 戻り値
49+
#### 戻り値
5050

5151
(`F`):並行実行制限が適用された新しい関数を返します。元の関数と同じインターフェースを持ちます。

docs/ja/reference/array/mapAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ const processedImages = await mapAsync(
5050
- `options` (`MapAsyncOptions`, オプショナル):並行実行を制御するオプションです。
5151
- `concurrency` (`number`, オプショナル):同時に実行できる最大操作数です。指定しない場合、すべての操作が同時に実行されます。
5252

53-
### 戻り値
53+
#### 戻り値
5454

5555
(`Promise<R[]>`):変換された値で構成される新しい配列のPromiseを返します。

docs/ja/reference/array/reduceAsync.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const userMap = await reduceAsync(
4242
- `reducer` (`(accumulator: U, currentValue: T, currentIndex: number, array: readonly T[]) => Promise<U>`):各要素を処理する非同期関数です。累積値と現在の値を受け取り、新しい累積値を返します。
4343
- `initialValue` (`U`):アキュムレーターの初期値です。
4444

45-
### 戻り値
45+
#### 戻り値
4646

4747
(`Promise<U>`):最終的な累積値のPromiseを返します。
4848

@@ -73,6 +73,6 @@ const result = await reduceAsync(emptyArray, async (acc, n) => acc + n);
7373
- `array` (`readonly T[]`):縮約する配列です。
7474
- `reducer` (`(accumulator: T, currentValue: T, currentIndex: number, array: readonly T[]) => Promise<T>`):各要素を処理する非同期関数です。累積値と現在の値を受け取り、新しい累積値を返します。
7575

76-
### 戻り値
76+
#### 戻り値
7777

7878
(`Promise<T | undefined>`):最終的な累積値のPromiseを返します。配列が空の場合は`undefined`を返します。

docs/ja/reference/error/AbortError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ await fetchData(controller.signal); // AbortErrorをスロー
5050

5151
- `message` (`string`, オプション): エラーメッセージです。デフォルト値は`'The operation was aborted'`です。
5252

53-
### 戻り値
53+
#### 戻り値
5454

5555
(`AbortError`): 中断された操作を表すエラーインスタンスを返します。`Error`を継承しており、`name`プロパティは`'AbortError'`です。

docs/ja/reference/error/TimeoutError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ await fetchWithTimeout('https://example.com/api/slow');
4949

5050
- `message` (`string`, オプション): エラーメッセージです。デフォルト値は`'The operation was timed out'`です。
5151

52-
### 戻り値
52+
#### 戻り値
5353

5454
(`TimeoutError`): タイムアウトした操作を表すエラーインスタンスを返します。`Error`を継承しており、`name`プロパティは`'TimeoutError'`です。

docs/ko/reference/array/filterAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ const items = await filterAsync(largeArray, async item => await validateItem(ite
4444
- `options` (`FilterAsyncOptions`, 선택): 동시 실행을 제어하는 옵션이에요.
4545
- `concurrency` (`number`, 선택): 동시에 실행할 수 있는 최대 작업 수예요. 지정하지 않으면 모든 작업이 동시에 실행돼요.
4646

47-
### 반환 값
47+
#### 반환 값
4848

4949
(`Promise<T[]>`): 조건 함수가 참으로 평가되는 값을 반환한 요소들만 포함하는 새로운 배열의 프로미스를 반환해요.

docs/ko/reference/array/flatMapAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ const products = await flatMapAsync(categories, async category => await fetchPro
4646
- `options` (`FlatMapAsyncOptions`, 선택): 동시 실행을 제어하는 옵션이에요.
4747
- `concurrency` (`number`, 선택): 동시에 실행할 수 있는 최대 작업 수예요. 지정하지 않으면 모든 작업이 동시에 실행돼요.
4848

49-
### 반환 값
49+
#### 반환 값
5050

5151
(`Promise<R[]>`): 변환된 값들이 한 단계 평탄화된 배열의 프로미스를 반환해요.

0 commit comments

Comments
 (0)