Skip to content

Introduce ES2024 target and fix some types #58573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
541081d
fix(dts): add missing types to support resizable arraybuffer
indrajitbnikam Jun 13, 2023
e675236
fix(dts): add separate file to add missing arrayBuffer and sharedArra…
indrajitbnikam Jun 14, 2023
51cbc24
fix: update the baselines
indrajitbnikam Jun 17, 2023
7cb5130
Merge branch 'main' into feat/update-types
petamoriken May 19, 2024
0d5841a
Update JSDoc
petamoriken May 19, 2024
2b68ab7
Update: migrate to ES2024
petamoriken May 19, 2024
2161140
Fix ES2017 types
petamoriken May 19, 2024
965a2cb
Update: add ES2024 ArrayBuffer transfer
petamoriken May 19, 2024
c7afa96
Fix ES2024 types
petamoriken May 19, 2024
67d6277
Update src/lib/libs.json
petamoriken May 19, 2024
ae9f93f
Add test cases
petamoriken May 19, 2024
c2e6381
Tweak
petamoriken May 19, 2024
4a3a8fc
Update baselines
petamoriken May 19, 2024
dc52cdf
Fix the mistake
petamoriken May 19, 2024
378fdb9
Update baselines
petamoriken May 19, 2024
bfc5b41
Fix `ArrayBuffer.prototype.slice` type
petamoriken May 19, 2024
eb7a391
Tweak
petamoriken May 19, 2024
8e19150
Tweak
petamoriken May 19, 2024
0d60852
Introduce ES2024 target
petamoriken May 19, 2024
5a38111
Update baselines
petamoriken May 19, 2024
e306c6a
Tweak MDN URLs
petamoriken May 19, 2024
689e5ee
Merge branch 'main' into feat/update-types
petamoriken May 24, 2024
3dd8b73
Merge branch 'main' into feat/update-types
petamoriken May 26, 2024
6b5d953
Fix: move `Atomics.waitAsync` types to ES2024
petamoriken May 26, 2024
99c1684
Update baselines
petamoriken May 26, 2024
ffa4c9b
Tweak
petamoriken May 26, 2024
5b0e12a
Fix
petamoriken May 26, 2024
1f67edc
Update baselines
petamoriken May 27, 2024
fbd2e18
Merge branch 'main' into feat/update-types
petamoriken Jun 13, 2024
5dd9ddb
Merge branch 'main' into feat/update-types
petamoriken Jul 6, 2024
c41d45c
update suggestions
petamoriken Jul 6, 2024
f0e156a
Update NOTE comments
petamoriken Jul 7, 2024
1b26a55
Merge branch 'main' into feat/update-types
petamoriken Jul 20, 2024
2e0a288
Update src/lib/es2024.collection.d.ts
petamoriken Jul 23, 2024
59ce25d
Merge branch 'main' into feat/update-types
petamoriken Jul 23, 2024
25ede1f
tweak
petamoriken Jul 23, 2024
f354580
add ES2024 Atomics.wait test for ES2022 lib
petamoriken Jul 23, 2024
dee70c4
update baselines
petamoriken Jul 23, 2024
604956a
update es2024SharedMemory.ts
petamoriken Jul 24, 2024
eeffd20
update baselines
petamoriken Jul 24, 2024
c5efb87
fix
petamoriken Aug 1, 2024
5e73d09
Merge branch 'main' into feat/update-types
petamoriken Aug 1, 2024
d40ae6d
Merge branch 'main' into feat/update-types
petamoriken Aug 10, 2024
1b35d86
Fix `Iterable`
petamoriken Aug 11, 2024
aa80f7c
Merge branch 'main' into feat/update-types
petamoriken Sep 10, 2024
58d0298
Merge branch 'main' into feat/update-types
petamoriken Sep 24, 2024
d336661
update comments
petamoriken Sep 24, 2024
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
Prev Previous commit
Next Next commit
Fix ES2024 types
  • Loading branch information
petamoriken committed May 19, 2024
commit c7afa963b0a32c130aeea0e004e6acfee849b140
7 changes: 4 additions & 3 deletions src/compiler/commandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ const libEntries: [string, string][] = [
["es2023.intl", "lib.es2023.intl.d.ts"],
["es2024.arraybuffer", "lib.es2024.arraybuffer.d.ts"],
["es2024.collection", "lib.es2024.collection.d.ts"],
["es2024.full", "lib.es2024.full.d.ts"],
["es2024.object", "lib.es2024.object.d.ts"],
["es2024.promise", "lib.es2024.promise.d.ts"],
["es2024.regexp", "lib.es2024.regexp.d.ts"],
["es2024.sharedmemory", "lib.es2024.sharedmemory.d.ts"],
["es2024.string", "lib.es2024.string.d.ts"],
["esnext.array", "lib.es2023.array.d.ts"],
["esnext.collection", "lib.esnext.collection.d.ts"],
["esnext.symbol", "lib.es2019.symbol.d.ts"],
Expand All @@ -244,8 +245,8 @@ const libEntries: [string, string][] = [
["esnext.decorators", "lib.esnext.decorators.d.ts"],
["esnext.object", "lib.es2024.object.d.ts"],
["esnext.array", "lib.esnext.array.d.ts"],
["esnext.regexp", "lib.esnext.regexp.d.ts"],
["esnext.string", "lib.esnext.string.d.ts"],
["esnext.regexp", "lib.es2024.regexp.d.ts"],
["esnext.string", "lib.es2024.string.d.ts"],
["decorators", "lib.decorators.d.ts"],
["decorators.legacy", "lib.decorators.legacy.d.ts"],
];
Expand Down
2 changes: 2 additions & 0 deletions src/lib/es2024.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
/// <reference lib="es2024.collection" />
/// <reference lib="es2024.object" />
/// <reference lib="es2024.promise" />
/// <reference lib="es2024.regexp" />
/// <reference lib="es2024.sharedmemory" />
/// <reference lib="es2024.string" />
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions src/lib/esnext.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
/// <reference lib="esnext.disposable" />
/// <reference lib="esnext.collection" />
/// <reference lib="esnext.array" />
/// <reference lib="esnext.regexp" />
/// <reference lib="esnext.string" />
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy