184 Commits

Author SHA1 Message Date
Trevor Florence
a68f6b2bce
TupleToUnion: Support arrays (#504) 2022-11-05 21:17:49 +07:00
John Sullivan
e11ab807e7
Add Jsonifiable type (#492)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-11-05 15:39:22 +07:00
skarab42
b11f017271
Add preserveConsecutiveUppercase option to CamelCase and add SplitWords type (#501) 2022-11-04 13:33:13 +07:00
Anders Bondehagen
44cdf33c3c
Fix a typo in a usage example (#503) 2022-10-25 11:43:20 +07:00
ntnyq
846f4dbf44
PackageJson: Strict check for imports (#478) 2022-10-22 02:01:27 +07:00
skarab42
e11d30b727
Fix Jsonify to look deeper (#498) 2022-10-19 22:42:38 +07:00
skarab42
f24821b3c7
Fix Jsonify with empty Set and Map (#497) 2022-10-19 22:41:36 +07:00
Scott Busche
e5732ab077
Fix some typos (#489) 2022-10-12 10:30:18 +07:00
Harvey Zack
ad5d89e135
Fix typo in example (#485) 2022-10-10 17:34:26 +07:00
Joe Alden
7d492c8093
SetNonNullable: Make it possible to apply it to all keys (#482)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-10-09 23:09:34 +07:00
skarab42
fedbc441a3
Add MergeDeep type (#452) 2022-09-29 12:33:50 +07:00
moon
0c79778298
Fix typo in example (#474) 2022-09-26 22:35:50 +07:00
Bruno Coelho
d3dad4ef6e
Remove an empty line (#472) 2022-09-24 20:41:17 +07:00
skarab42
f3b13e30f8
Fix PackageJson and JsonObject types (#465) 2022-09-21 13:58:58 +07:00
skarab42
2a2f31046c
Fix DelimiterCase regression after TS 4.8 (#464) 2022-09-15 14:09:33 +07:00
skarab42
eb7f08b744
Merge: Fix index signature type overwrite (#460) 2022-09-05 16:45:01 +07:00
skarab42
2e443e2b01
Merge: Fix optional keys and type override (#456) 2022-09-01 23:40:06 +07:00
skarab42
850ac04379
Merge: Add index signatures support and improve performances (#455) 2022-09-01 15:26:47 +07:00
skarab42
28e55b9abd
Add OmitIndexSignature and PickIndexSignature types (#453)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-08-31 22:30:16 +07:00
Sindre Sorhus
1003d5d9f1 TsConfigJson: Add some Module values
Fixes #418
2022-08-29 17:57:35 +07:00
Sindre Sorhus
db89d9c231 PartialDeep: Make the recurseIntoArrays option false by default 2022-08-29 15:51:14 +07:00
Sindre Sorhus
a7f367d126 Get: Make the strict option true by default 2022-08-29 15:43:07 +07:00
Sindre Sorhus
cca3ca2c27 Require TypeScript 4.7 and Node.js 14 2022-08-29 15:23:09 +07:00
Sindre Sorhus
28f3e481eb Remove the PromiseValue type in favor of the built-in Awaited type
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html#the-awaited-type-and-promise-improvements
2022-08-29 14:34:40 +07:00
Sindre Sorhus
ff0de639d5 Rename Mutable type to Writable 2022-08-29 14:31:00 +07:00
skarab42
f46b85af28
Add EmptyObject and IsEmptyObject types (#447)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-08-29 14:24:53 +07:00
skarab42
f53e3dce8c
DelimiterCase: Support screaming snake case as input (#448) 2022-08-28 21:33:00 +07:00
skarab42
3cb67d7ab0
Add ConditionalPickDeep type (#444)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-08-27 06:19:44 +07:00
skarab42
d83d62c966
Jsonify: Add support for optional object keys (#445) 2022-08-27 05:00:24 +07:00
Tatsuya Yamamoto / T28_tatsuya
ac5b821116
PackageJson: Add packageManager field (#446)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-08-27 04:56:17 +07:00
Matt Mahnke
eac8c6fe8d
Add TupleToUnion type (#440) 2022-08-27 04:47:18 +07:00
skarab42
beaabe1821
Add ConditionalSimplify and ConditionalSimplifyDeep types (#442) 2022-08-25 03:28:10 +07:00
skarab42
bbccfb88a0
Simplify: Revert back to how it worked in v2.15.1 (#441) 2022-08-24 10:24:03 +03:00
George Zhao
edcad04556
Exact: Support array union (#421)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-08-22 19:10:36 +02:00
hiroki osame
290e3a29ca
PackageJson: Support condition object in exports array (#439) 2022-08-22 19:05:16 +02:00
Johann Cooper
1a69e6379d
Add SetNonNullable type (#431) 2022-08-22 19:03:48 +02:00
Ilia Baryshnikov
8a014e5703
Jsonify: Do not downgrade tuples to arrays (#433) 2022-08-18 18:16:17 +02:00
skarab42
96acab152b
Spread: Support arrays/tuples (#435) 2022-08-17 13:48:12 +02:00
Adrien David
efba9f4709
Add Spread type (#427) 2022-07-30 14:22:37 +02:00
Clément Cloux
1cbd351e8f
Add PartialOnUndefinedDeep type (#426)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-07-30 13:57:04 +02:00
bbrk24
37774694ba
Add recurseIntoArrays option for PartialDeep (#400)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-07-20 13:26:41 +02:00
Sindre Sorhus
edfba7ae22 Minor refactoring 2022-07-19 15:29:20 +02:00
Davide Menegatti
f0b1c3faf6
Add OptionalKeysOf, HasOptionalKeys, RequiredKeysOf, HasRequiredKeys types (#405)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-07-03 21:53:48 +02:00
JonghwanWon
1483de38aa
Replace: Fix the all option (#416) 2022-07-03 21:52:44 +02:00
JonghwanWon
de5e7fcadf
Includes: Fix false-positive when the array contains null and you are checking against undefined (#413) 2022-07-02 17:58:29 +02:00
skarab42
96fe79598e
Make Simplify handle all types (#414)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-07-02 13:49:45 +02:00
Fatih Altinok
095831c506
Don't use BigInt (#412) 2022-06-30 19:44:13 +02:00
Fatih Altinok
8ca2959bc8
Make the Jsonify type more correct (#410) 2022-06-30 18:07:52 +02:00
Dimitris Michalakos
d4d44812c4 Add UnwrapOpaque type (#403)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-24 14:02:04 +02:00
hiroki osame
74891f0dfd
Fix TsConfigJson to require paths array (#404) 2022-06-13 17:39:44 +07:00