876 Commits

Author SHA1 Message Date
Sindre Sorhus
f2640842b2
Update join-union.d.ts 2025-10-11 21:23:41 +09:00
benz
53fecf9b66
revert changes on ArrayLength 2025-10-10 20:55:03 +01:00
benzaria
c8d83a1fd4
fix errors caused by new rules 2025-10-10 20:32:27 +01:00
benzaria
659fb1f9b9
fix UnionToTuple type output not treated as an array 2025-10-10 20:31:30 +01:00
benzaria
af81efe20d
Merge remote-tracking branch 'upstream/main' into LiteralList 2025-10-10 19:46:13 +01:00
benzaria
f260b64af2
feat: minor changes 2025-10-10 16:14:05 +01: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
benzaria
f435fa5604
refactor: LiteralList and JoinUnion types 2025-09-23 23:45:30 +01:00
benz
fa555562b2
Merge branch 'main' into LiteralList 2025-09-23 22:45:20 +01: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
benz
0c6d7157c8
Merge branch 'main' into LiteralList 2025-06-18 02:23:42 +01: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
benzaria
15dab31def
test: add test case for literal template & fix literalunion test 2025-06-15 20:37:21 +01:00
benz
750004a3dd
feat: remove capitals from Errors 2025-06-15 00:47:41 +00:00
benz
8e3127c66e
Merge branch 'main' into LiteralList 2025-06-14 17:57:51 +01: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
Allen Hernandez
5dbd7aed6a
Fix remaining broken links (#1187) 2025-06-12 16:08:48 +02:00