Haozheng Li
|
9630089d43
|
LastArrayElement: Fix handling of tuple with spread elements (#727)
|
2023-10-25 17:14:47 +07:00 |
|
Haozheng Li
|
75edeefd4a
|
PartialDeep: Skip constructor (#730)
|
2023-10-25 16:27:39 +07:00 |
|
Haozheng Li
|
3ee234ad18
|
ReadonlyDeep: Skip constructor (#728)
|
2023-10-25 02:58:13 +07:00 |
|
Haozheng Li
|
9baccc358c
|
WritableDeep: Fix array handling (#724)
|
2023-10-24 03:08:09 +07:00 |
|
Lucas Teles
|
6c76e4a572
|
Add ArrayValues type (#720)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-21 23:15:02 +07:00 |
|
Haozheng Li
|
9f2388dc53
|
Add SetParameterType type (#722)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-21 22:12:15 +07:00 |
|
Lucas Teles
|
c330852999
|
Add ArrayIndices type (#716)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-21 13:29:17 +07:00 |
|
Haozheng Li
|
d8b44cbe1e
|
Add UndefinedOnPartialDeep type (#700)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-18 17:26:52 +07:00 |
|
Henrique Inonhe
|
051739901f
|
Add KeysOfUnion type (#709)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-18 02:42:07 +07:00 |
|
Haozheng Li
|
e5d145d2c1
|
Add IntRange type (#707)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-10-18 02:32:11 +07:00 |
|
Nicholas Rakoto
|
157ed07c87
|
Jsonify: Improve type inference for objects with .toJSON() extending primitives (#690)
|
2023-10-17 15:41:26 +07:00 |
|
Henrique Inonhe
|
fcdcfe9b15
|
OverrideProperties: Fix autocomplete in the type (#712)
|
2023-10-17 01:49:46 +07:00 |
|
Bazyli Brzóska
|
61f2ff9bc3
|
UnionToIntersection: Allow indexing by the resulting type (#682)
|
2023-10-07 11:17:42 +07:00 |
|
Emiya
|
4378507281
|
IsLiteral: Don't restrict generic type (#684)
|
2023-09-30 22:42:52 +07:00 |
|
Emiya
|
025f6e9db5
|
Jsonify: Fix handling of arrays (#673)
|
2023-09-30 21:32:23 +07:00 |
|
Donovan Hiland
|
5351533873
|
Jsonify: Fix handling of nested objects with only a name property (#691)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-09-27 01:13:21 +07:00 |
|
Sindre Sorhus
|
181c203b5e
|
Fix missing export
Fixes #674
|
2023-08-27 22:42:43 +02:00 |
|
Sindre Sorhus
|
58129912c0
|
Meta tweaks
|
2023-08-26 18:02:25 +02:00 |
|
Ethan Resnick
|
277ada292d
|
Add Tagged and UnwrapTagged types (#672)
|
2023-08-26 17:48:57 +02:00 |
|
kkmuffme
|
98bb74d3cb
|
Add NonEmptyObject type (#623)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-08-25 13:19:25 +02:00 |
|
Ethan Resnick
|
cff9808189
|
ReadonlyDeep: Reduce likelyhood of "instantiation excessively deep" errors (#650)
|
2023-08-08 11:46:49 +02:00 |
|
Matan Yadaev
|
b2bcc3833c
|
Add UnknownRecord type (#660)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Tommy <tmitchell7@uh.edu>
|
2023-08-08 11:45:24 +02:00 |
|
Tommy
|
0a098c61bc
|
Add RequireOneOrNone type (#654)
|
2023-07-30 17:02:40 +02:00 |
|
Sindre Sorhus
|
ca94c3b30e
|
Require Node.js 16 and TypeScript 5.1
|
2023-07-16 12:04:52 +02:00 |
|
Sindre Sorhus
|
d743202a0a
|
Revert "Revert "Jsonify: Fix handling of tuples (#638)""
This reverts commit 9fdac37ea5e1ea7fcc444a8df95c8eafe88dca2f.
|
2023-07-16 12:04:52 +02:00 |
|
andrew jarrett
|
3475a023e5
|
LastArrayElement: Avoid recursion (#647)
|
2023-07-16 12:02:54 +02:00 |
|
Sindre Sorhus
|
5d903feb86
|
Don’t use arguments parameter name
Closes #645
Fixes #644
|
2023-07-16 11:48:53 +02:00 |
|
Sindre Sorhus
|
9fdac37ea5
|
Revert "Jsonify: Fix handling of tuples (#638)"
This reverts commit 605b9011726e72c6ff3735ce6c864263ff5bdcb6.
|
2023-07-16 11:44:27 +02:00 |
|
Trevor Florence
|
a8d6ad0f79
|
Add HasReadonlyKeys and HasWritableKeys types (#640)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-07-09 13:41:10 +02:00 |
|
Michaël De Boey
|
605b901172
|
Jsonify: Fix handling of tuples (#638)
Co-authored-by: Pedro Cattori <pcattori@gmail.com>
|
2023-07-09 13:33:48 +02:00 |
|
Alexander J. Vincent
|
8edb68137f
|
Fix accessing prototype property when using Class and AbstractClass types (#632)
|
2023-06-20 12:19:36 +03:00 |
|
Shinigami
|
b2e22fb57f
|
Add SetReadonly type (#624)
|
2023-06-14 15:41:14 +03:00 |
|
hiroki osame
|
dc38b708ff
|
PackageJson: Disallow undefined in exports (#626)
|
2023-05-30 21:32:38 +07:00 |
|
Andy Young
|
6a82900b45
|
SetRequired: Fix performance regression (#628)
|
2023-05-30 21:29:33 +07:00 |
|
kkmuffme
|
a3e1589d54
|
Add WritableKeysOf and ReadonlyKeysOf type (#619)
|
2023-05-20 16:12:51 +07:00 |
|
Jared Poole
|
c2bf374910
|
Add RequiredDeep type (#614)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Karibash <40270352+Karibash@users.noreply.github.com>
|
2023-05-17 14:52:41 +07:00 |
|
Migel Hoxha
|
9c12497127
|
SetRequired: Fix it incorrectly combining individual key types (#611)
|
2023-05-03 01:35:50 +07:00 |
|
Jinta Orishima
|
44ec7ec1e9
|
OverrideProperties: Fix a missing case (#609)
|
2023-04-29 01:09:53 +07:00 |
|
Eran Hirsch
|
bb8131451d
|
Join: Support more cases (#594)
|
2023-04-25 20:24:27 +07:00 |
|
Niclas
|
c365837d65
|
Add OverrideProperties type (#597)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-04-23 16:30:29 +08:00 |
|
Tommy
|
4045737499
|
Add IsX/IfX types for any/never/unknown (#564)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-04-06 00:07:21 +09:00 |
|
Alvis Tang
|
5374588a88
|
Add LiteralToPrimitiveDeep type (#584)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2023-04-04 15:53:19 +09:00 |
|
Sébastien Mischler
|
60a057b891
|
Fix Merge with optional any value (#583)
|
2023-03-29 21:38:09 +09:00 |
|
hiroki osame
|
3deac35dbf
|
Fix missing export (#580)
|
2023-03-27 01:12:15 +09:00 |
|
orimiles5
|
c5743c9dab
|
Except: Add requireExactProps option (#560)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Tommy <tmitchell7@uh.edu>
|
2023-03-23 16:54:14 +07:00 |
|
Shuntaro Nishizawa
|
aafc938be4
|
TsConfigJson: Add TypeScript 5.0 options (#573)
|
2023-03-17 15:08:17 +07:00 |
|
Pyry Heiskanen
|
2e1cec8aaf
|
Add TaggedUnion type (#566)
|
2023-03-13 14:05:24 +07:00 |
|
Ray Wong
|
9b12767a2f
|
Add AbstractClass type (#559)
|
2023-03-11 22:33:52 +07:00 |
|
Tommy
|
9d00bac4a4
|
Add IsLiteral types (#563)
|
2023-03-11 03:54:24 +07:00 |
|
Michael Mok
|
747e29be45
|
Join: Fix usage of single element const tuple (#558)
|
2023-02-26 16:36:22 +07:00 |
|