24 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
c8c6d5569f
Add AllExtend type (#1164) 2025-06-05 12:56:09 +03:00
Som Shekhar Mukherjee
a891143da6
Every: Fix behavior when the target type is never (#1163) 2025-06-04 04:01:33 +03:00
Som Shekhar Mukherjee
b38ac60921
And: Fix behaviour with boolean, never and any (#1161) 2025-06-03 15:53:16 +03:00
Som Shekhar Mukherjee
df49e60b9b
Update xo to v1.0.0 (#1157) 2025-05-28 01:57:16 +03:00
Som Shekhar Mukherjee
34368551f3
Add lint rule to prevent .js / .ts extensions in import statements (#1152) 2025-05-25 15:10:53 +03:00
Som Shekhar Mukherjee
eb37799563
IsStringLiteral: Fix behavior with uncollapsed unions like "foo" | "bar" | (string & {}) (#1148) 2025-05-22 19:39:32 +03:00
Sindre Sorhus
afe132c4b4
Add IsLowercase and IsUppercase types (#1141)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-05-18 11:19:56 +02:00
Sindre Sorhus
484e030ab9
Add Alphanumeric, UppercaseLetter, LowercaseLetter, DigitCharacter types (#1138) 2025-05-13 16:31:04 +07:00
Sindre Sorhus
b3d92ed983
Expose IsUnion type (#1137) 2025-05-13 02:51:10 +07:00
Som Shekhar Mukherjee
4c2151a3af
Deprecate If* types in favor of a single If type (#1135) 2025-05-13 01:05:53 +07:00
Som Shekhar Mukherjee
a8ba48a19c
ApplyDefaultOptions: Remove strictNullChecks: false workaround (#1134) 2025-05-12 10:40:20 +07:00
Sindre Sorhus
cc2b0f2038 Require ESM and Node.js 20 2025-05-08 15:21:25 +07:00
Som Shekhar Mukherjee
8c154e957c
RequireAllOrNone / RequireAtLeastOne / RequireExactlyOne / RequireOneOrNone: Fix behaviour with any and never (#1113) 2025-04-29 14:59:52 +07:00
Som Shekhar Mukherjee
7536bae8cb
ApplyDefaultOptions: Improve behaviour when strictNullChecks is disabled (#1096) 2025-04-01 18:58:11 +07:00
Som Shekhar Mukherjee
063e28d570
DelimiterCase / SnakeCase / ScreamingSnakeCase / KebabCase: Fix instantiations containing punctuations (#1080) 2025-03-20 01:52:16 +07:00
Som Shekhar Mukherjee
db76e5b15f
Refactor how options are handled for types (#1081) 2025-03-18 23:22:18 +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
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
69bfd51b87
Sum/Subtract: Fix instantiations with unions (#1034) 2025-01-13 10:59:44 +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
Som Shekhar Mukherjee
cb269ffbe1
SetOptional/SetRequired/SetReadonly: Fix instantiations with index signatures (#1014) 2024-12-25 17:55:10 +01: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
Tommy
4b744448cc
Fix missing exported internal types (#918) 2024-07-18 14:06:55 +02:00
Tommy
3b1ceeb1dd
Split internal.d.ts into multiple files (#906) 2024-07-15 01:25:54 +02:00