12 Commits

Author SHA1 Message Date
Sindre Sorhus
3ac9f35397
Add ESLint rule to ensure all source files have empty exports (#1244) 2025-09-25 22:07:24 +09:00
Som Shekhar Mukherjee
4d7cc50fbe
ConditionalKeys: Fix behavior with arrays and unions (#1198) 2025-06-20 20:05:39 +02: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
4c2151a3af
Deprecate If* types in favor of a single If type (#1135) 2025-05-13 01:05:53 +07:00
Sindre Sorhus
cc2b0f2038 Require ESM and Node.js 20 2025-05-08 15:21:25 +07:00
Rory Abraham
863511d600
ConditionalKeys: Fix filtering out never type (#881) 2024-05-25 12:39:52 +02:00
Haozheng Li
0fb2d62f7d
ConditionalKeys: fix compatibility with TypeScript 5.4 (#852) 2024-04-02 12:04:15 +02:00
Sindre Sorhus
cca3ca2c27 Require TypeScript 4.7 and Node.js 14 2022-08-29 15:23:09 +07:00
Sindre Sorhus
e3234d74aa Use import type
Closes #390
2022-04-09 19:04:14 +07:00
Jonah Snider
043b732bf0
Improve @category doc comments (#331) 2021-12-01 23:06:04 +07:00
Ryan Sonshine
6b8bee7d0d
Add @category JSDoc tag to improve reference docs generation (#209) 2021-05-19 12:29:58 +07:00
Ifiok Jr
8a908a300a
Add ConditionalKeys, ConditionalPick and ConditionalExcept types (#76)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-15 02:36:12 +07:00