Releases: sindresorhus/type-fest
Releases Β· sindresorhus/type-fest
v5.6.0
New types
Improvements
- Add
splitOnPunctuationoption toCamelCase/PascalCase/KebabCase/SnakeCase(#1394) 852d016 CamelCase: AddpreserveLeadingUnderscoresoption (#1404) 5ca6564TsConfigJson: Add TypeScript 6.0 fields (#1406) ac4861dUnionToTuple: Fix behavior with large unions (#1405) 651f7ea
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