862 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
7a18ccf42c
refactor: significantly simplify implementation by removing looping 2025-10-19 17:02:35 +05:30
Som Shekhar Mukherjee
d9bbad735f
doc: improve code comments 2025-10-19 16:13:42 +05:30
Som Shekhar Mukherjee
809e6a4bef
refactor: update outcome based on exactOptionalPropertyTypes flag 2025-10-19 16:13:03 +05:30
Som Shekhar Mukherjee
7ddd619668
doc: improve code comments 2025-10-19 15:54:13 +05:30
Som Shekhar Mukherjee
d845941bcd
chore: update README 2025-10-19 15:04:06 +05:30
Som Shekhar Mukherjee
66bf970c1f
doc: add JSDoc 2025-10-19 15:03:33 +05:30
Som Shekhar Mukherjee
7b710673a4
test: add cases for ArrayAt
Co-authored-by: Wei Wen <WeiWen1999@users.noreply.github.com>
2025-10-19 14:14:11 +05:30
Som Shekhar Mukherjee
7d47b8d496
feat: add ArrayAt type 2025-10-19 14:13:08 +05:30
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
Sindre Sorhus
cb977aad6b Meta: Improve Claude reviews 2025-10-13 23:40:44 +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
687a89d94c 5.1.0 v5.1.0 2025-10-13 15:26:53 +09:00
Sindre Sorhus
7e7b5f7010 Improve some descriptions 2025-10-13 15:26:21 +09:00
Som Shekhar Mukherjee
7698140bda
Ensure import-path lint rule works on re-exports (#1267) 2025-10-12 12:13:06 +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
Sindre Sorhus
1d89f154a7 Fix Claude to not run in forks since it’s not supported by them yet 2025-10-09 02:25:40 +09:00
Sindre Sorhus
121980cb49
Add Claude Code GitHub Workflow (#1255) 2025-10-06 19:52:36 +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
a804d9edc4 Mention ts-extras package 2025-09-22 11:44:36 +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
a318906097 5.0.1 v5.0.1 2025-09-19 12:34:29 +09:00
Sindre Sorhus
4f9c248b57 Add missing exports
Fixes #1235
Closes #1236
2025-09-19 12:33:51 +09:00
Sindre Sorhus
fc14f87e7f 5.0.0 v5.0.0 2025-09-13 16:45:56 +07: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
Sindre Sorhus
b5b02143f6 Require TypeScript 5.9 2025-08-09 03:15:25 +02: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
Alessandro Palombaro
3130e772cd
Add alternative type name (#1199) 2025-07-27 01:55:05 +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