diff --git a/questions/00020-medium-promise-all/README.ja.md b/questions/00020-medium-promise-all/README.ja.md index d82d5e9d2..fae44a59d 100644 --- a/questions/00020-medium-promise-all/README.ja.md +++ b/questions/00020-medium-promise-all/README.ja.md @@ -10,7 +10,7 @@ const promise3 = new Promise((resolve, reject) => { }); // expected to be `Promise<[number, 42, string]>` -const p = Promise.all([promise1, promise2, promise3] as const) +const p = PromiseAll([promise1, promise2, promise3] as const) ```
戻る 解答を共有 解答を確認 diff --git a/questions/00020-medium-promise-all/README.md b/questions/00020-medium-promise-all/README.md index 97ac79ac2..77cab96cd 100644 --- a/questions/00020-medium-promise-all/README.md +++ b/questions/00020-medium-promise-all/README.md @@ -10,7 +10,7 @@ const promise3 = new Promise((resolve, reject) => { }); // expected to be `Promise<[number, 42, string]>` -const p = Promise.all([promise1, promise2, promise3] as const) +const p = PromiseAll([promise1, promise2, promise3] as const) ``` diff --git a/questions/00020-medium-promise-all/README.zh-CN.md b/questions/00020-medium-promise-all/README.zh-CN.md index db6698604..a29574d49 100644 --- a/questions/00020-medium-promise-all/README.zh-CN.md +++ b/questions/00020-medium-promise-all/README.zh-CN.md @@ -12,7 +12,7 @@ const promise3 = new Promise((resolve, reject) => { }); // expected to be `Promise<[number, 42, string]>` -const p = Promise.all([promise1, promise2, promise3] as const) +const p = PromiseAll([promise1, promise2, promise3] as const) ```
返回首页 分享你的解答 查看解答