Commit Graph

826 Commits

Author SHA1 Message Date
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
Hideaki Noshiro
6c3239ce74 fix: add toLocaleString to Float64Array in es5.d.ts (#53731) 2023-04-25 11:15:08 -07:00
形素叢集・ぐらふぃーむ
33ab6fd0d5 lib Fix Part 5/6 – Function.{apply, bind} (#50453)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-12 16:35:29 -07:00
Khafra
fd6f61ea6b add Intl.supportedValuesOf (#53511)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-12 12:18:49 -07:00
Luca Pizzini
af5e8e2e4e fix(lib.d.ts): fixed buffer parameter type of DataView (#53130) 2023-04-11 08:19:25 -07:00
Nathan Shively-Sanders
1a636a908f DOM update 2023-04-23 (#53652) 2023-04-03 15:34:57 -07:00
Eric Ferreira
a82b9274b5 Fix the type of copyWithin (#53340) 2023-03-22 10:54:49 -07:00
Daniel Hritzkiv
41474f908c Change ParamaterDecorator to allow an undefined propertyKey (#53365) 2023-03-20 13:47:51 -04:00
Nathan Shively-Sanders
bb566f9977 DOM update 2023-03-07 (#53133) 2023-03-09 11:00:11 -08:00
形素叢集・ぐらふぃーむ
57394450db lib Fix Part 1/6 – WeakMap constructor (#50449)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-02-28 14:14:30 -08:00
ExE Boss
6bbdcaa146 Fix definition of Array.prototype[Symbol.unscopables] (#42566) 2023-02-22 13:00:52 -05:00
Ron Buckton
6c9792aa87 Decorators normative changes (#52582) 2023-02-09 14:48:45 -05:00
Nathan Shively-Sanders
0c2fa391a8 Update DOM and baselines (#52328) 2023-01-20 16:19:59 -08:00
Ron Buckton
5b18979697 Implement the Stage 3 Decorators Proposal (#50820) 2023-01-19 17:54:12 -05:00
Nathan Shively-Sanders
ecaf6d91a7 Revert "Add undefined to JSON.stringify return type (#51897)" (#52307) 2023-01-19 09:24:31 -08:00
Mykola Basov
cb4c7689e6 Add Array.prototype.findLast() and Array.prototype.findLastIndex() (#49636)
Signed-off-by: mbasov2 <mbasov2@bloomberg.net>
2023-01-13 15:35:50 -08:00
Ron Buckton
f43cd0acca Add RegExp indices and hasIndices (#52085)
* Add RegExp indices
* update --lib message
* newlines
* implement changes
* Fix failing tests

Thanks @xiBread!
2023-01-03 15:20:10 -05:00
ronyhe
c7f49bceed Add undefined to JSON.stringify return type (#51897)
* First attempt

* Revert "First attempt"

This reverts commit 23f641cddb.

* Second try

* Accept baslines
2022-12-28 09:06:03 -08:00
swandir
f0f415b671 Add missing Intl.ListFormat.prototype.resolvedOptions() (#51024)
* Add missing Intl.ListFormat.prototype.resolvedOptions()

Fixes #51023

* lint
2022-12-08 16:45:17 -08:00
Eyal Halpern Shalev
5435efbf37 Fixed method signature of Atomics.waitAsync (#51602)
* Added method overloading for Atomics.waitAsync(Int32Array, number, number, number)

* fixed types

* fixed types

* fixed line ending

* CR fix

* Forgot the baseline
2022-12-01 16:41:28 -08:00
Charlie Fish
53ef2fc90d Improving Date.getTime documentation (#51365) 2022-11-15 08:48:20 -08:00
Jonathan Kingston
c0f8d1cf75 fix(51277): Array find thisArg fix from being void (#51278) 2022-11-14 16:49:11 -08:00
Nathan Shively-Sanders
170a17fad5 Dom update 2022-10-25 (#51300)
* Update DOM

Looks like the changes are:

- AbortSignal.abort finally has the right type.
- Add OffscreenCanvas support
- Some new properties scattered around, some properties now allow `null`.
- rename VideoFrameMetadata -> VideoFrameCallbackMetadata
- Add CSSContainerRule, EXT_texture_norm16, OES_draw_buffers_indexed
- Some type aliases include more types in their union.

* Update baselines
2022-10-25 17:04:55 -07:00
Ben Taylor
33a34e5b96 Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() (#50630)
* Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() & updating baselines (50565)

* Update the Date.now() type declaration description

Updating the Date.now() type declaration description to make it clearer and more accurate.

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2022-10-03 16:31:24 -07:00
navya9singh
b09e93d3f6 Merge pull request #50041 from microsoft/fix/47969
Fix(47969): String.prototypr.replace docs fix
2022-09-28 08:27:24 -07:00
navya9singh
8e71f429c8 Fixing pr comments 2022-09-25 23:12:07 -07:00
Nathan Shively-Sanders
e2dd5084f7 DOM update 2022/09/21 (#50884) 2022-09-21 10:17:08 -07:00
navya9singh
305f4bd420 Merge branch 'main' into fix/47969 2022-09-20 11:50:14 -07:00
navya9singh
906510e0f3 Fixes for pr 2022-09-16 15:36:21 -07:00
DetachHead
2970c5d167 make RegExpExecArray always include index 0 (#50713)
* make `RegExpExecArray` always include index 0

* update baseline

* remove `BaseRegExpArray` interface

* add test

Co-authored-by: DetachHead <detachhead@users.noreply.github.com>
2022-09-16 15:28:26 -07:00
navya9singh
29e50b3149 Rewording documentation 2022-09-16 11:07:15 -07:00