Commit Graph

856 Commits

Author SHA1 Message Date
Daniel Rosenwasser
cd6c0a0b6b Fix the type of growable on SharedArrayBuffer. (#60163) 2024-10-07 13:41:43 -07:00
Nathan Shively-Sanders
2c23beae02 DOM update 2024-09-25 (#60061) 2024-09-27 15:32:19 -07:00
Kenta Moriuchi
9d98874739 Introduce ES2024 target and fix some types (#58573)
Co-authored-by: indrajitbnikam <indrajitbnikam@gmail.com>
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-09-27 14:58:17 -04:00
Ron Buckton
e5758ab8b1 Make typed arrays generic over ArrayBufferLike (#59417) 2024-09-24 12:17:59 -04:00
Mateusz Burzyński
fe2cb8ebaa Add missing index parameter to the Array.fromAsync's mapFn (#59837) 2024-09-03 10:18:18 -07:00
Ron Buckton
f025a5b879 built-in iterators should be disposable (#59633) 2024-08-16 11:57:04 -04:00
Ron Buckton
a745d1b205 Disambiguate BuiltinIterator/BuiltinIteratorReturn (#59506) 2024-08-05 17:32:47 -04:00
Ron Buckton
5929c96378 Use 'BuiltinAsyncIterator' spelling (#59388) 2024-07-22 00:45:55 -04:00
Ron Buckton
98f45d7a4c Manual update of generated DOM and Worker libs (#59366) 2024-07-19 14:27:35 -07:00
Kevin Gibbons
307ff6c397 add types for iterator helpers proposal (#58222)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-07-19 16:46:03 -04:00
Ron Buckton
7f978c7ffe Use tuple name inference for Iterator.next et al (#59360) 2024-07-19 14:53:18 -04:00
Ron Buckton
6f530cc4ce Add TReturn/TNext to Iterable et al (#58243) 2024-07-19 13:14:00 -04:00
Nathan Shively-Sanders
121c5dd36b DOM update 2024-07-12 (#59259) 2024-07-18 13:02:34 -07:00
Hideaki Noshiro
edd08a570a fix: fix the return type of Int8Array::toReversed in es2023.array.d.ts (#59163) 2024-07-17 03:24:28 +09:00
Joe Pea
dd5d690a0d Update es2017.object.d.ts to indicate that Object.values/entries looks only at own properties (#58953) 2024-06-21 11:33:06 -07:00
Kevin Gibbons
e8274f74f9 add types for set methods proposal (#57230) 2024-05-16 17:19:25 -04:00
Andreu Botella
3480321b38 Add types for String#isWellFormed and String#toWellFormed (#58010)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-04-19 13:52:23 -07:00
Nathan Shively-Sanders
e04a27c504 DOM update 2024-04-16 (#58211) 2024-04-19 08:52:38 -07:00
James Lan
e33b8d9b85 Correct the type of return value of FinalizationRegistry.unregister (#57948) 2024-04-18 15:45:47 -07:00
Felix Becker
bdd1f947f6 Accept decimal strings in Intl.NumberFormat (#57595)
Co-authored-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
2024-04-05 13:52:21 -07:00
Sébastien Raynaud
e0d9d460a8 Update getTimezoneOffset JSDoc (#58004) 2024-04-01 08:56:09 -07:00
Neil Bryson
32a1370fa8 Add missing parameters from Array.toLocaleString on ES2015 libs (#57679) 2024-03-27 10:38:11 -07:00
Isabel Duan
3282ff28e6 add Array.fromAsync to esnext (#57748)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-03-19 10:43:02 -07:00
Joshua Chen
a9460c8c93 Add lib declaration for RegExp#unicodeSets (#57111) 2024-03-18 15:02:07 -07:00
René
877d9d316d Intl.NumberFormat: Add latest options, fix previous library discrepancies (#56902) 2024-03-01 09:40:44 -08:00
Oleksandr T
5364494473 mark the ImportAssertions as deprecated (#57012) 2024-01-17 16:27:12 -08:00
Nathan Shively-Sanders
d69757e3d3 Dom update 2024-01-11 (#57027) 2024-01-16 11:26:57 -08:00
Anders Hejlsberg
e6fe96c501 Add NoInfer<T> intrinsic represented as special substitution type (#56794) 2024-01-12 13:59:05 -08:00
Kevin Gibbons
fbf908bd58 Add types for Object.groupBy() and Map.groupBy() (#56805)
Co-authored-by: Nick McCurdy <nick@nickmccurdy.com>
Co-authored-by: Karl Horky <karl.horky@gmail.com>
Co-authored-by: Niklas Mollenhauer <nikeee@outlook.com>
2024-01-11 11:17:54 -08:00
Kagami Sascha Rosylight
8a3fe5760f Add asynciterable libs (#56723) 2024-01-02 11:07:57 -08:00
Rob Ballou
431d3e878f fix(56513): Allow Intl locales to be readonly arrays (#56621) 2023-12-13 08:07:48 -08:00
Nil Admirari
fd74874733 String#matchAll should return iterable of RegExpExecArray (fixes #36788) (#55565)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-30 13:51:08 -08:00
lionel-rowe
f97c3fd377 Consistently allow Locale objects in locale list params (#52996) 2023-11-29 09:21:49 -08:00
Linus Groh
aef29e400e Add types for Promise.withResolvers() (#56593) 2023-11-29 08:55:55 -08:00
Nathan Shively-Sanders
8b43f5bbe3 Remove SuppressedErrorConstructor's extends clause (#55817) 2023-11-16 11:28:15 -08:00
kazuya kawaguchi
09fc67bd48 fix: add Intl.getCanonicalLocales type definition (#56079)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-03 10:56:44 -07:00
Jeswin Simon
05e05e638f Fix for #56119 - Update JSDoc for TypedArrays (#56148) 2023-10-24 09:35:26 -07:00
Oleksandr T
2e9e9a292c feat(53656): Add support for the updated import attributes proposal (#54242) 2023-09-26 13:20:15 -07:00
Nathan Shively-Sanders
190d70962a Update DOM before 5.3 beta (#55798) 2023-09-20 11:24:51 -07:00
Jake Bailey
9ec52c0518 Enforce CRLF in TS/JS files (#55403) 2023-08-16 15:27:36 -07:00
Jake Bailey
5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
shubhamshd
71c56c24b6 Fix the type of Array.copyWithin #54967 (#55012) 2023-07-28 16:13:07 -07:00
Oleksandr T
bc91920cc6 feat(53461): Implement decorator metadata proposal (#54657) 2023-06-23 10:55:22 -04:00
Ron Buckton
f9cf8216c6 Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00
Nathan Shively-Sanders
e69a0b0e38 DOM update 2023/06/21 (#54725) 2023-06-21 12:31:52 -07:00
Ron Buckton
72406c6892 Fix regression in WeakMap constructor type (#54592) 2023-06-09 17:17:27 -04:00
leoelm
eeed72171f Type definitions for 'Symbols as WeakMap keys' (#76) (#54195)
Signed-off-by: Leo Elmecker <lelmeckerpla@bloomberg.net>
2023-06-09 14:20:26 -04:00
Carter Snook
e8c7927641 feat(lib/esnext): add change array by copy types (#51367)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
Co-authored-by: Albert Arvidsson <albert.arvidsson@gmail.com>
2023-06-02 09:48:56 -07:00
João Nuno Mota
0d262616f3 Add extra Date.UTC signature to reflect ES2017 changes (#54125) 2023-05-22 16:23:08 -07:00
Steven
d5d9171909 fix: add more strict type to Intl.CollatorOptions (#53786) 2023-04-25 14:53:58 -07:00