384 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
fbccaab4d2
StringRepeat: Add support for generating longer strings & fix instantiations with unions (#1046) 2025-01-21 00:06:10 +07:00
Som Shekhar Mukherjee
4789c7cd55
KeysOfUnion: Fix assignability with keyof (#1009) 2025-01-20 22:48:59 +07:00
Som Shekhar Mukherjee
e7800af449
IsStringLiteral: Fix instantiations with infinite string types (#1044) 2025-01-20 17:13:46 +07:00
Som Shekhar Mukherjee
49605b9770
Split: Add support for longer strings (#1042) 2025-01-16 17:17:24 +07:00
Som Shekhar Mukherjee
bf5ce3cad3
SetRequiredDeep: Fix handling of unions in nested keys (#1037) 2025-01-16 04:08:27 +07:00
Jake Boone
c6d5142375
Correct "snake-case" vs "kebab-case" comments (#1043) 2025-01-16 04:05:55 +07:00
Som Shekhar Mukherjee
db12bb1c2d
Except: Add another example to JSDoc (#1040) 2025-01-15 13:49:59 +07:00
Som Shekhar Mukherjee
879d8ae730
PickIndexSignature/OmitIndexSignature: Clean up JSDoc comments (#1039) 2025-01-15 13:46:57 +07:00
ghaaj
979eccf4cd
StringSlice: Fix return type when passing in non-literal (#1036) 2025-01-14 10:51:31 +07:00
Som Shekhar Mukherjee
69bfd51b87
Sum/Subtract: Fix instantiations with unions (#1034) 2025-01-13 10:59:44 +07:00
Haozheng Li
cfb594777f
Get: Optimize performance (#1031) 2025-01-10 00:20:42 +07:00
Som Shekhar Mukherjee
c897aadaa5
SetRequired: Fix support for removal of optional modifiers from tuples (#1030) 2025-01-05 01:43:11 +01:00
Pico12
278df8055d
PartialDeep: Add allowUndefinedInArrays option (#1019)
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2025-01-04 18:03:47 +01:00
Som Shekhar Mukherjee
1e0872da1c
Add IsTuple type (#1024)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-12-31 17:26:03 +01:00
Hugo Martinet
3d54627133
Add SetRequiredDeep type (#939)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2024-12-30 12:06:03 +01:00
Som Shekhar Mukherjee
cb269ffbe1
SetOptional/SetRequired/SetReadonly: Fix instantiations with index signatures (#1014) 2024-12-25 17:55:10 +01:00
Som Shekhar Mukherjee
59517cb7b5
SetFieldType: Add option to preserve property modifiers (#1017) 2024-12-25 17:49:29 +01:00
jun-ilotus
591700abe7
IsEqual: Fix identity issue (#1012) 2024-12-17 14:58:29 +01:00
Aiden Foxx
527d6002d9
Fix missing export (#1011) 2024-12-16 22:08:21 +01:00
Som Shekhar Mukherjee
fdbcb116b0
SetOptional/SetRequired/SetReadonly: Fix when the second argument is any (#1007) 2024-12-16 22:07:30 +01:00
wyw
a128f69a32
Arrayable: Make it more usable by removing readonly (#1003) 2024-12-12 19:35:27 +01:00
Som Shekhar Mukherjee
20e71e9b6d
SharedUnionFields: Simplify implementation (#1000) 2024-12-10 22:47:41 +01:00
Haozheng Li
9869aa3145
UnionToTuple: Improve docs (#998)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-12-05 17:16:04 +01:00
Fernando Fernández
f6b1387659
ArrayTail: Fix support for optional parameters (#977)
Co-authored-by: som-sm <som-sm@users.noreply.github.com>
2024-12-02 13:21:01 +01:00
Haozheng Li
a716c29676
Add SharedUnionFields type (#994) 2024-12-02 13:18:25 +01:00
Jared Poole
32d94ddf02
IsAny: Fix circular constraint error on TypeScript 5.4+ (#993) 2024-12-02 01:08:03 +01:00
Andrei Luca
fbbb8ba53b Schema: Add recurseIntoArrays option (#960)
Co-authored-by: Grigoris Christainas <grigorisxristainas@gmail.com>
2024-11-27 17:39:31 +07:00
LJ
d7b692bb04
Add IntClosedRange type (#992) 2024-11-27 17:35:24 +07:00
Haozheng Li
4b49b93465
SharedUnionFieldsDeep: Fix support for optional fields (#988) 2024-11-26 14:07:56 +07:00
ntnyq
9d6fff3613
TsConfigJson: Add TypeScript 5.7 fields (#987)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-24 15:49:52 +07:00
Olivier Cadoret
f215f9f5c4
SharedUnionFieldsDeep: Fix propagation for non union root types (#984) 2024-11-23 14:17:36 +07:00
LJ
0efbae3ac3
ArraySlice: Fix support for union input (#986) 2024-11-23 14:17:14 +07:00
Andre Wachsmuth
a47091315b
TsConfigJson: Add noCheck to compilerOptions (#981)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-15 00:24:19 +07:00
Eran Hirsch
13c0c83273
Add Words type (#975)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-15 00:22:45 +07:00
Sindre Sorhus
b93f54a0e4
Get: Fix handling of paths with number template literal (#968) 2024-11-06 23:45:08 +08:00
David Gonzalez
3d473d1f8b
Entries: Fix code example typo (#964) 2024-10-05 05:39:49 +07:00
Andy Brenneke
91f6d39738
Exact: Fix usage with recursive types and unions (#949) 2024-09-08 11:19:38 +07:00
Haozheng Li
1f4f7a10ae
Add UnionToTuple type (#945)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-29 00:03:49 +07:00
Jo Liss
f120d8a012
Tagged: Improve documentation (#943) 2024-08-24 17:21:29 +07:00
Haozheng Li
986faba1df
Get: Update Path generic parameter (#932) 2024-08-19 10:59:21 +07:00
Max
a83e87ee7d
Add StringRepeat type (#938) 2024-08-15 01:57:58 +02:00
Haozheng Li
f19a002f72
OmitDeep: Improve example (#937) 2024-08-12 14:32:18 +02:00
Max
9aabcb9864
Add Arrayable type #270 (#935)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-12 14:22:57 +02:00
Haozheng Li
3b15a94362
Path: Add bracketNotation option (#926)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-08 13:50:54 +02:00
Jean-Baptiste LARRIVIERE
f361912c77
MergeDeep: Fix docs typo (#923) 2024-07-26 17:47:51 +02:00
Daniel Mittereder
052e887843
Paths: Add maxRecursionDepth option (#920)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-22 15:15:34 +02:00
Tommy
4b744448cc
Fix missing exported internal types (#918) 2024-07-18 14:06:55 +02:00
thecodewarrior
0086cd6a33
Add FindGlobalType and FindGlobalInstanceType types (#908)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-17 01:59:22 +02:00
Tommy
3b1ceeb1dd
Split internal.d.ts into multiple files (#906) 2024-07-15 01:25:54 +02:00
Tommy
bb57638a35
Add NonEmptyTuple type (#915) 2024-07-14 12:53:17 +02:00