add promise.any (#33844)

* add promise.prototype.any

* add AggregateError

* Update src/lib/esnext.promise.d.ts

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* update baseline again

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
Wenlu Wang
2020-03-11 23:36:00 +08:00
committed by GitHub
parent 6a67cc7005
commit 20625a964b
7 changed files with 35 additions and 9 deletions

View File

@@ -58,7 +58,8 @@ namespace ts {
["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"],
["esnext.intl", "lib.esnext.intl.d.ts"],
["esnext.bigint", "lib.es2020.bigint.d.ts"],
["esnext.string", "lib.esnext.string.d.ts"]
["esnext.string", "lib.esnext.string.d.ts"],
["esnext.promise", "lib.esnext.promise.d.ts"]
];
/**