Releases: sindresorhus/type-fest
Releases Β· sindresorhus/type-fest
v5.5.0
New types
Optional(#1374) 9b52980ExcludeExactly(#1349) 0f923d0ArrayLength(#1344) 59bd056UnionMember(#1368) 878b6dfSomeExtend(#1380) bbce298AndAll(#1383) 94aa3f8OrAll(#1378) 4c42d89
Improvements
- Add function parameter constraint examples to numeric comparison types (#1357) 24be93d
UnionToTuple: Fix behavior when a union member is a supertype of another (#1349) 0f923d0ConditionalPickDeep: Fix returning{}instead ofneverwhen no keys match (#1360) 6af847aConditionalPick: Fix returning{}instead ofneverwhen no keys match (#1359) 3995003GreaterThan/LessThan/GreaterThanOrEqual/LessThanOrEqual: Fix behavior with thenumbertype (#1363) cfea505
v5.4.4
PackageJson: UseLiteralUnionforenginesfield (#1354) fc9e2bbIsUnion: Fix behavior when the entire union extends all individual members (#1353) b0321a5Paths: FixleavesOnlybehavior withneverleaves (#1350) 2c34128Paths: Fix behavior withWeakMaps /WeakSets (#1348) ac3b50ePaths: Fix behavior with tuples containing optional elements with a rest element (#1346) 7c82a21
v5.4.3
v5.4.2
v5.4.1
v5.4.0
New types
v5.3.1
v5.3.0
v5.2.0
New types
- Add
ExclusifyUniontype (#1278) 2b906fe - Add
ArrayElementtype (#1270) 2afaa40
Improvements
CamelCase: AddsplitOnNumbersoption (#1290) ce2d244PackageJson: AdddevEnginestype (#1286) 3b4ad2e
Fixes
ExcludeRestElement: Fix generic assignability with arrays (#1274) 12ef5b2GreaterThanOrEqual/LessThan: Fix behavior with operands likeNandN | N + >0(#1280) b2caa3f
v5.1.0
New types
TupleOf(#1247) 7fb2f75Xor(#1254) ad04bc5SplitOnRestElement(#1166) 34b8fadExtractRestElement(#1166) 34b8fadExcludeRestElement(#1166) 34b8fad
Improvements
ReadonlyTuple: Deprecate in favor ofTupleOf(#1256) af4bebcTsConfigJson: Add missing lib enum values (#1263) 72f491fTsConfigJson: AddrewriteRelativeImportExtensions(#1262) 7d011ce
Fixes
PartialDeep: Fix behavior with functions containing multiple call signatures (#1259) 3bd9de6IsEqual: Fix behaviour when instantiated withneverandunknown(#1251) 785549fFixedLengthArray: Fix element type (#1246) ee29ef7is-equal: Fix handling with intersecting wrapped types (#1231) 5af60a1