14 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
7e7b5f7010 Improve some descriptions 2025-10-13 15:26:21 +09:00
Sindre Sorhus
3ac9f35397
Add ESLint rule to ensure all source files have empty exports (#1244) 2025-09-25 22:07:24 +09:00
Haozheng Li
9630089d43
LastArrayElement: Fix handling of tuple with spread elements (#727) 2023-10-25 17:14:47 +07:00
andrew jarrett
3475a023e5
LastArrayElement: Avoid recursion (#647) 2023-07-16 12:02:54 +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
Sindre Sorhus
7f9e08755c More improvements to categories 2021-12-01 23:22:40 +07:00
Jonah Snider
043b732bf0
Improve @category doc comments (#331) 2021-12-01 23:06:04 +07:00
JounQin
8f70e88244
Fix support for readonly and generic arrays in the LastArrayElement type (#266) 2021-09-17 10:37:04 +07:00
Sindre Sorhus
abb5b98311 Support readonly array in a few more places 2021-08-23 14:31:35 +02:00
Sindre Sorhus
a55ebee883 Require TypeScript 4.2 and Node.js 12.20 2021-08-06 01:37:41 +02:00
Sindre Sorhus
844552141f Fix LastArrayElement type
Fixes #195
2021-03-23 22:44:33 +07:00
Kai Niedziela
2f6aa0b2f7
Add LastArrayElement, Split, and Trim types (#159)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Misha Kaletsky <15040698+mmkal@users.noreply.github.com>
2021-03-21 19:45:45 +07:00