358 Commits

Author SHA1 Message Date
Andrei Luca
fbbb8ba53b Schema: Add recurseIntoArrays option (#960)
Co-authored-by: Grigoris Christainas <grigorisxristainas@gmail.com>
2024-11-27 17:39:31 +07:00
LJ
d7b692bb04
Add IntClosedRange type (#992) 2024-11-27 17:35:24 +07:00
Haozheng Li
4b49b93465
SharedUnionFieldsDeep: Fix support for optional fields (#988) 2024-11-26 14:07:56 +07:00
ntnyq
9d6fff3613
TsConfigJson: Add TypeScript 5.7 fields (#987)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-24 15:49:52 +07:00
Olivier Cadoret
f215f9f5c4
SharedUnionFieldsDeep: Fix propagation for non union root types (#984) 2024-11-23 14:17:36 +07:00
LJ
0efbae3ac3
ArraySlice: Fix support for union input (#986) 2024-11-23 14:17:14 +07:00
Andre Wachsmuth
a47091315b
TsConfigJson: Add noCheck to compilerOptions (#981)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-15 00:24:19 +07:00
Eran Hirsch
13c0c83273
Add Words type (#975)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-11-15 00:22:45 +07:00
Sindre Sorhus
b93f54a0e4
Get: Fix handling of paths with number template literal (#968) 2024-11-06 23:45:08 +08:00
David Gonzalez
3d473d1f8b
Entries: Fix code example typo (#964) 2024-10-05 05:39:49 +07:00
Andy Brenneke
91f6d39738
Exact: Fix usage with recursive types and unions (#949) 2024-09-08 11:19:38 +07:00
Haozheng Li
1f4f7a10ae
Add UnionToTuple type (#945)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-29 00:03:49 +07:00
Jo Liss
f120d8a012
Tagged: Improve documentation (#943) 2024-08-24 17:21:29 +07:00
Haozheng Li
986faba1df
Get: Update Path generic parameter (#932) 2024-08-19 10:59:21 +07:00
Max
a83e87ee7d
Add StringRepeat type (#938) 2024-08-15 01:57:58 +02:00
Haozheng Li
f19a002f72
OmitDeep: Improve example (#937) 2024-08-12 14:32:18 +02:00
Max
9aabcb9864
Add Arrayable type #270 (#935)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-12 14:22:57 +02:00
Haozheng Li
3b15a94362
Path: Add bracketNotation option (#926)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-08-08 13:50:54 +02:00
Jean-Baptiste LARRIVIERE
f361912c77
MergeDeep: Fix docs typo (#923) 2024-07-26 17:47:51 +02:00
Daniel Mittereder
052e887843
Paths: Add maxRecursionDepth option (#920)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-22 15:15:34 +02:00
Tommy
4b744448cc
Fix missing exported internal types (#918) 2024-07-18 14:06:55 +02:00
thecodewarrior
0086cd6a33
Add FindGlobalType and FindGlobalInstanceType types (#908)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-17 01:59:22 +02:00
Tommy
3b1ceeb1dd
Split internal.d.ts into multiple files (#906) 2024-07-15 01:25:54 +02:00
Tommy
bb57638a35
Add NonEmptyTuple type (#915) 2024-07-14 12:53:17 +02:00
Tommy
128b21eed8
Add ArrayTail type (#913)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-14 12:39:23 +02:00
George Zhao
bf85819fec
Exact: Fix type when class is present (#911)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-07-14 00:18:49 +02:00
Tommy
fee4e04a6f
Ensure all RequireX types' second param is optional (#907) 2024-07-12 14:07:14 +02:00
Pelle Wessman
8040abcbaa
Ensure no implicit @types/ are used (#912) 2024-07-12 14:05:36 +02:00
George Zhao
d89a70978a
Exact: Fix support for Date in union (#902) 2024-07-02 14:35:17 +02:00
m-shaka
60c10242c5
Jsonify: Convert undefined to null in union element of array (#901) 2024-07-02 14:34:46 +02:00
Dmitry Firsov
476024da19
CamelCasedPropertiesDeep: Fix handling of non-recursive types inside target type (#890) 2024-06-26 14:40:37 +02:00
thecodewarrior
737550b787
Add StructuredCloneable type (#897) 2024-06-26 14:39:58 +02:00
Mateusz Kadlubowski
0e4675599d
IterableElement: Improve docs and add tests for using it with Set (#894)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-06-22 12:01:50 +02:00
Sindre Sorhus
e75dbe1fee IntRange: Document lack of support for negative numbers
Fixes #895
2024-06-20 17:06:23 +02:00
Grigoris Christainas
c570ec2c40
Schema: Fix handling of arrays (#887) 2024-06-15 22:33:03 +02:00
Haozheng Li
7d4e875b69
Paths: Prevent infinite recursion (#891) 2024-06-15 22:32:28 +02:00
Haozheng Li
a6ab051735
SimplifyDeep: Support array (#888) 2024-06-07 13:10:44 +02:00
CJ Quines
587380ce8e
IsLiteral: Return false for tagged types (#886) 2024-06-07 13:06:00 +02:00
Haozheng Li
3a04fcf2ad
Add SimplifyDeep type (#882)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-06-04 12:31:55 +02:00
Rory Abraham
863511d600
ConditionalKeys: Fix filtering out never type (#881) 2024-05-25 12:39:52 +02:00
Ruben Grimm
4e7bb18a7c
CamelCasedPropertiesDeep: Fix tuple being incorrectly turned into array (#818) 2024-05-06 20:06:29 +07:00
Sindre Sorhus
909c38e997 Add Or type 2024-04-29 14:36:25 +07:00
Sindre Sorhus
9d628aa623 Add And type 2024-04-29 14:33:08 +07:00
Ethan Resnick
ef7b580ffd
Mark Opaque and UnwrapOpaque as deprecated (#867) 2024-04-29 14:06:55 +07:00
Blake Wilson
7096613740
TsConfigJson: Add preserve module type and ES2022 lib types (#874) 2024-04-29 14:06:10 +07:00
Sindre Sorhus
d639574de8 Add IsNull type 2024-04-24 14:06:40 +07:00
倚窗听雨丿醉无心
91a2b1e6b3
Fix: "Zero" is not exported (#870) 2024-04-24 11:31:48 +08:00
Haozheng Li
f5b09de767
Add IsInteger and IsFloat, fix Integer and Float handing with edge case (#857)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-04-22 15:22:35 +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
Pelle Wessman
2878773efd
ReadonlyDeep/WritableDeep: Fix TypeScript 5.4 compatibility (#839) 2024-04-03 02:18:04 +09:00