504 Commits

Author SHA1 Message Date
Haozheng Li
b9723d4785
Writable: Support array, map, and set (#726)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2023-10-26 16:31:08 +07:00
Lucas Teles
964466c9d5
Add SetFieldType type (#721)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2023-10-25 23:44:24 +07:00
Sindre Sorhus
017bf38ebb 4.6.0 v4.6.0 2023-10-25 18:46:07 +07:00
Haozheng Li
9630089d43
LastArrayElement: Fix handling of tuple with spread elements (#727) 2023-10-25 17:14:47 +07:00
Haozheng Li
89e299358b
Add class test case for MergeDeep (#731) 2023-10-25 17:02:11 +07:00
Sindre Sorhus
8a521293b5 Welcome @Emiyaaaaa as a maintainer 🎉 2023-10-25 17:01:07 +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
Sindre Sorhus
010dfdda14 4.5.0 v4.5.0 2023-10-18 20:00:58 +07:00
Sindre Sorhus
67f4ee975b Add another alias to the readme 2023-10-18 19:53:25 +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
Sindre Sorhus
47626cf470 4.4.0 v4.4.0 2023-10-07 11:37:35 +07:00
Bazyli Brzóska
61f2ff9bc3
UnionToIntersection: Allow indexing by the resulting type (#682) 2023-10-07 11:17:42 +07:00
Sindre Sorhus
113400b53a 4.3.3 v4.3.3 2023-09-30 23:11:34 +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
Sindre Sorhus
493013b8b2 4.3.2 v4.3.2 2023-09-27 01:33:41 +07:00
Sindre Sorhus
2cd5ef4d5e Recommend strict tsconfig 2023-09-27 01:18:56 +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
7950542f8f Mention another alternative type name in the readme
#678
2023-09-04 16:55:49 +07:00
Sindre Sorhus
667225d500 4.3.1 v4.3.1 2023-08-27 22:43:58 +02:00
Sindre Sorhus
181c203b5e Fix missing export
Fixes #674
2023-08-27 22:42:43 +02:00
Sindre Sorhus
9250be2c89 4.3.0 v4.3.0 2023-08-26 18:16:23 +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
Igor Shevchenko
1d4e122c5b
Fix typos in readme (#671) 2023-08-25 00:06:10 +02:00
Sindre Sorhus
10dcb30a8c Document a couple of alternative names
Fixes #290
Fixes #215
2023-08-14 14:56:09 +02:00
Sindre Sorhus
a8ffdda114 Remove broken link
Fixes #663
2023-08-14 01:47:41 +02:00
Sindre Sorhus
28da8751ca 4.2.0 v4.2.0 2023-08-08 11:52:54 +02:00
Sindre Sorhus
2e705a2747 Update contributing guidelines 2023-08-08 11:50:53 +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
Sindre Sorhus
f63c3437bc 4.1.0 v4.1.0 2023-07-30 17:03:48 +02:00
Tommy
0a098c61bc
Add RequireOneOrNone type (#654) 2023-07-30 17:02:40 +02:00
Sindre Sorhus
51eb3f7fe6 Meta tweaks 2023-07-27 16:03:04 +02:00
Sindre Sorhus
aec8f0affa Fix CI 2023-07-16 12:10:32 +02:00
Sindre Sorhus
404618725f 4.0.0 v4.0.0 2023-07-16 12:06:05 +02:00
Sindre Sorhus
03703f0e21 Remove alias for RemoveIndexSignature 2023-07-16 12:04:52 +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