206 Commits

Author SHA1 Message Date
hiroki osame
aaef3e30ff
Fix Simplify to actually expand type-hints (#553) 2023-02-07 13:08:24 +07:00
Bernard
a729046284
PackageJson: Make Imports object properties optional (#551) 2023-02-04 08:56:31 +07:00
Chris Vaszauskas
311051cc05
JsonValue: Fix support for readonly arrays (#549) 2023-01-30 18:28:06 +07:00
George Zhao
5125e1bb21
Exact: Fix handling of deep optional unions (#546) 2023-01-20 15:04:18 +07:00
Connor White
f8d968f2d1
Improve word separators (#542) 2023-01-15 08:37:38 +07:00
Connor White
98ab9036c9
SplitWords: Fix bug with casing (#538) 2023-01-13 11:33:45 +07:00
Connor White
a82342a943
Fix issue with IsNumeric when input is whitespace (#539) 2023-01-13 11:31:47 +07:00
Stephan Schreiber
1e76932266
TsConfigJson: Add missing ES2022 (#536) 2023-01-05 00:08:24 +01:00
Sindre Sorhus
745816b93f Minor tweaks 2022-12-26 00:05:25 +01:00
Bryan Mishkin
7db4e171d4
PackageJson: Mention npm workspaces (#530) 2022-12-26 00:05:03 +01:00
David Luzar
db81191cd2
Join: Support const tuple values (#533) 2022-12-26 00:03:06 +01:00
Ray Wong
00b13f8b8a
CamelCase: Fix handling of non-literal strings (#531) 2022-12-26 00:02:05 +01:00
Stephan Schreiber
9f040285a7
TsConfigJson: Sync with latest TypeScript version (#529) 2022-12-25 23:58:48 +01:00
Takahiro Kato
e5a3a57ea0
Add IsEqual type (#522)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-12-25 23:56:16 +01:00
George Zhao
84269a7854
Exact: Fix handling of Opaque types (#525)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-12-13 14:22:08 +01:00
Sindre Sorhus
8eb7bf2a54 Minor tweaks 2022-12-08 20:19:23 +01:00
Ken
88dcf0fd8f
Fix typo in code example (#524) 2022-12-08 19:59:50 +01:00
Trevor Florence
17dace9bd0
Add GlobalThis type (#511) 2022-12-08 19:52:26 +01:00
Sachin Raja
2071f47efb
Jsonify: Add jump to definition and any support (#519)
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-11-28 16:00:03 +07:00
Joe Alden
9bae03bbb7
SetNonNullable: Fix usage in type predicate context (#515)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-11-28 15:42:00 +07:00
Jacob Bergholtz
50d21d1f2d
Join: Remove workaround (#517) 2022-11-27 03:15:16 +07:00
Sindre Sorhus
4bb093ff5b Meta tweaks 2022-11-05 21:19:47 +07:00
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