8 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
2300245cb6
Add lint rule to validate JSDoc codeblocks using TS compiler (#1265) 2025-11-12 11:52:24 +07:00
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
34368551f3
Add lint rule to prevent .js / .ts extensions in import statements (#1152) 2025-05-25 15:10:53 +03: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
Sindre Sorhus
cc2b0f2038 Require ESM and Node.js 20 2025-05-08 15:21:25 +07:00
Trevor Florence
3f77d93592
Update single-key-object.d.ts to use direct import path (#861) 2024-04-12 19:59:14 +09:00
ash
fa1c3f3cf4
Add SingleKeyObject and IfEmptyObject types (#849)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-03-31 14:57:55 +09:00