512 Commits

Author SHA1 Message Date
electrovir
0430f5648a
PackageJson: Fix key type for DependencyOverrides (#1307)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-12-07 15:16:11 +01:00
Sindre Sorhus
f4392812ef Meta tweaks 2025-12-02 16:08:12 +07:00
猫田
f7b26675e3
IsEqual: Fix generic inference (#1306) 2025-12-02 15:59:39 +07:00
Som Shekhar Mukherjee
2702882aa9
Add custom processor to lint JSDoc codeblocks (#1300) 2025-11-30 04:44:57 +07:00
Som Shekhar Mukherjee
2300245cb6
Add lint rule to validate JSDoc codeblocks using TS compiler (#1265) 2025-11-12 11:52:24 +07:00
Ryan Goree
f14a75aa1f
ConditionalPickDeep / SimplifyDeep: Prevent mapping over built-ins (#1293) 2025-11-11 01:48:01 +07:00
Simon Boudrias
8beaa89a2e
PackageJson: Add overrides (#1287) 2025-11-04 14:24:14 +07:00
Som Shekhar Mukherjee
133258b8eb
ArraySlice / StringSlice: Fix behavior with unions (#1291) 2025-11-03 18:03:40 +07:00
Som Shekhar Mukherjee
2b906fe9fe
Add ExclusifyUnion type (#1278) 2025-11-03 15:39:57 +07:00
Sindre Sorhus
ce2d2441ff
CamelCase: Add support for splitOnNumbers option (#1290) 2025-11-03 12:28:34 +07:00
Yangshun Tay
bdb565877d
ExtractStrict: Fix typo in docs (#1288) 2025-10-28 16:25:56 +07:00
Som Shekhar Mukherjee
12ef5b20c5
ExcludeRestElement: Fix generic assignability with arrays (#1274) 2025-10-25 18:35:08 +07:00
Daniel Bayley
3b4ad2edc6
PackageJson: Add devEngines type (#1286) 2025-10-24 13:41:25 +07:00
benz
ad62d2cc8b
Or/And: Fix documentation errors and add link to Xor (#1261)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-10-20 13:12:46 +07:00
Som Shekhar Mukherjee
b2caa3f58a
GreaterThanOrEqual / LessThan: Fix behavior with operands like N and N | N + >0 (#1280) 2025-10-19 23:16:47 +07:00
Som Shekhar Mukherjee
5612f64822
IfNotAnyOrNever: Add note regarding tail recursion (#1276) 2025-10-18 13:08:59 +07:00
Sindre Sorhus
608c711480
Use proper @see syntax for linking types (#1273) 2025-10-14 18:58:29 +09:00
Sindre Sorhus
2afaa40531
Add ArrayElement type (#1270)
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
2025-10-14 15:54:15 +09:00
Som Shekhar Mukherjee
18c67e1f99
If: Add note regarding tail recursion in documentation (#1269) 2025-10-13 20:46:27 +09:00
Sindre Sorhus
7e7b5f7010 Improve some descriptions 2025-10-13 15:26:21 +09:00
benz
34b8fadfa3
Add SplitOnRestElement, ExtractRestElement, ExcludeRestElement types (#1166)
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2025-10-11 13:43:16 +09:00
Hiroki Osame
72f491faf2
TsConfigJson: Add missing lib enum values (#1263) 2025-10-09 02:38:05 +09:00
Hiroki Osame
7d011ce3a0
TsConfigJson: Add rewriteRelativeImportExtensions (#1262) 2025-10-09 02:37:33 +09:00
benz
ad04bc512e
Add Xor type (#1254)
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
2025-10-09 02:36:41 +09:00
Som Shekhar Mukherjee
140b7386c9
UnionToIntersection: Fix incorrect test case (#1260) 2025-10-06 19:28:49 +09:00
Som Shekhar Mukherjee
3bd9de60d5
PartialDeep: Fix behavior with functions containing multiple call signatures (#1259) 2025-10-02 12:38:46 +09:00
Som Shekhar Mukherjee
590efae822
JsonObject: Simplify implementation (#1258) 2025-10-01 18:24:41 +09:00
Som Shekhar Mukherjee
af4bebce3b
ReadonlyTuple: Deprecate in favor of TupleOf (#1256) 2025-10-01 03:37:05 +09:00
猫田
785549f364
IsEqual: Fix behaviour when instantiated with never and unknown (#1251) 2025-09-29 05:55:07 +09:00
Som Shekhar Mukherjee
ee29ef7b9d
FixedLengthArray: Fix element type (#1246) 2025-09-28 04:24:43 +09:00
Som Shekhar Mukherjee
f999a2c8cb
TupleOf: Add example in docs (#1250) 2025-09-27 19:47:35 +09:00
Som Shekhar Mukherjee
7fb2f75f3e
Add TupleOf type (#1247) 2025-09-26 15:46:43 +09:00
Sindre Sorhus
3ac9f35397
Add ESLint rule to ensure all source files have empty exports (#1244) 2025-09-25 22:07:24 +09:00
Jake Boone
d641eae000
Export *Options types from source files (#1242) 2025-09-25 17:46:52 +09:00
Sindre Sorhus
95c0cb5c52
Add lint rule to catch cases of missing exports in index.d.ts (#1238) 2025-09-21 09:40:03 +09:00
猫田
5af60a1330
is-equal: Fix handling with intersecting wrapped types (#1231)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-09-20 15:24:49 +09:00
Sindre Sorhus
f7bc576059 Add IsUndefined type
Fixes #1212
2025-09-13 16:37:44 +07:00
Sindre Sorhus
5f830b58c3 Minor tweaks 2025-09-13 16:05:22 +07:00
blaiseludvig
e790c3f166
TaggedUnion: Fix incorrect usage example (#1211) (#1221) 2025-09-04 17:35:52 +07:00
Som Shekhar Mukherjee
bfcdbc43f9
RequiredDeep: Fix behaviour with undefined (#1218) 2025-08-30 14:26:12 +07:00
benz
93728b5a8c
Add IsOptionalKeyOf, IsReadonlyKeyOf, IsRequiredKeyOf, and IsWritableKeyOf types (#1189) 2025-08-25 02:02:04 +07:00
benz
d52d5e7c5f
Refactor IsNumericLike and fix UnionMin, UnionMax types (#1192) 2025-08-25 00:07:29 +07:00
Gerkin
642bb133d0
Jsonify: Handle unknown as JsonValue (#1206) 2025-08-24 23:33:59 +07:00
ntnyq
d2bda94747
TsConfigJson: Add TypeScript 5.9 fields (#1210) 2025-08-01 13:08:22 +02:00
Jean Claveau
853b881f99
Split: Fix behavior with template strings ending with interpolated types (#1204) 2025-07-27 01:56:41 +02:00
Som Shekhar Mukherjee
4d7cc50fbe
ConditionalKeys: Fix behavior with arrays and unions (#1198) 2025-06-20 20:05:39 +02:00
Som Shekhar Mukherjee
18a1c0438b
Add RemovePrefix type (#1194) 2025-06-18 01:20:29 +02:00
Som Shekhar Mukherjee
9926e5dba4
Paths: Fix behavior with index signatures (#1193) 2025-06-17 21:53:27 +02:00
Park, Jinyong
5067e25fd5
Add IsOptional and IsNullable types (#1180)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2025-06-14 15:47:27 +02:00
Som Shekhar Mukherjee
c459b77d14
IsLiteral: Update example in JSDoc (#1188) 2025-06-14 15:11:20 +02:00