401 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
db76e5b15f
Refactor how options are handled for types (#1081) 2025-03-18 23:22:18 +07:00
Qingfeng Huang
5d2199a135
Remove duplicated code (#1071) 2025-03-04 14:11:50 +07:00
Som Shekhar Mukherjee
e462e722f1
DelimiterCase / SnakeCase / ScreamingSnakeCase / KebabCase: Fix default value for splitOnNumbers option (#1073) 2025-03-04 14:11:29 +07:00
Laurynas Grigutis
af5bfb7a46
Sum: Add negative return value support (#1068) 2025-03-03 13:36:23 +07:00
Som Shekhar Mukherjee
aeadafeb82
Paths: Refactor to leverage recent improvements in Subtract (#1069) 2025-03-03 02:43:43 +07:00
Som Shekhar Mukherjee
cc93f85e1c
Split: Fix instantiations with unions and add strictLiteralChecks option (#1067) 2025-03-02 21:57:01 +07:00
Som Shekhar Mukherjee
a733698e29
Replace: Fix instantiations with unions (#1065) 2025-03-02 13:39:21 +07:00
Laurynas Grigutis
2b85ae2ac4
Subtract: Add negative return value support (#1061)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-03-02 13:38:51 +07:00
ntnyq
918156a0c0
TsConfigJson: Add TypeScript 5.8 fields (#1064) 2025-03-01 13:49:59 +07:00
Som Shekhar Mukherjee
3c03a0da17
Replace: Add support for generating longer strings (#1060) 2025-02-27 21:31:16 +07:00
Filip Wachowiak
a463c30e64
Improve DelimiterCase (#930)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-02-26 22:42:30 +07:00
Som Shekhar Mukherjee
2633e5bce8
Paths: Add depth option (#1058) 2025-02-17 01:10:29 +07:00
Som Shekhar Mukherjee
c8149ec07a
Add TupleToObject type (#1055) 2025-02-17 01:09:38 +07:00
Som Shekhar Mukherjee
e5b66a44e7
OmitDeep: Fix import statement (#1052) 2025-02-09 23:29:06 +07:00
Som Shekhar Mukherjee
7dfb307e3e
Paths: Add leavesOnly option (#1050) 2025-02-09 16:20:10 +07:00
Som Shekhar Mukherjee
fa6e31b70f
OmitDeep: Fix removal of multiple paths within arrays (#1049) 2025-02-09 15:58:53 +07:00
Rebecca Stevens
9aba4c33c8
Add AllUnionFields type (#997)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-02-09 15:57:44 +07:00
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