A collection of essential TypeScript types
CC0-1.0 License
Bot releases are visible (Hide)
SimplifyDeep
type (#882) 3a04fcfhttps://github.com/sindresorhus/type-fest/compare/v4.18.3...v4.19.0
ConditionalKeys
: Fix filtering out never type (#881) 863511dhttps://github.com/sindresorhus/type-fest/compare/v4.18.2...v4.18.3
CamelCasedPropertiesDeep
: Fix tuple being incorrectly turned into array (#818) 4e7bb18https://github.com/sindresorhus/type-fest/compare/v4.18.1...v4.18.2
https://github.com/sindresorhus/type-fest/compare/v4.18.0...v4.18.1
TsConfigJson
: Add preserve
module type and ES2022
lib types (#874) 7096613Opaque
: Mark as deprecated (#867) ef7b580UnwrapOpaque
: Mark as deprecated (#867) ef7b580https://github.com/sindresorhus/type-fest/compare/v4.17.0...v4.18.0
IsNull
d639574Zero
: Fix missing export (#870) 91a2b1ehttps://github.com/sindresorhus/type-fest/compare/v4.16.0...v4.17.0
Integer
: Fix handling of some edge-cases (#857) f5b09deFloat
: Fix handling of some edge-cases (#857) f5b09dehttps://github.com/sindresorhus/type-fest/compare/v4.15.0...v4.16.0
SingleKeyObject
(#849) fa1c3f3IfEmptyObject
(#849) fa1c3f3ConditionalKeys
: Fix TypeScript 5.4 compatibility (#852) 0fb2d62WritableDeep
: Fix TypeScript 5.4 compatibility (#839) 2878773ReadonlyDeep
: Fix TypeScript 5.4 compatibility (#839) 2878773https://github.com/sindresorhus/type-fest/compare/v4.14.0...v4.15.0
DistributedPick
type (#841) fa4099chttps://github.com/sindresorhus/type-fest/compare/v4.13.1...v4.14.0
SetParameterType
: Properly fix compatibility with TypeScript 5.4 (#836) a186adbhttps://github.com/sindresorhus/type-fest/compare/v4.13.0...v4.13.1
DistributedOmit
(#820) bc49577ArraySlice
: Support array spread (#832) d2d0d01SetParameterType
: Fix compatibility with TypeScript 5.4 (#835) 2bc451eOmitDeep
: Fix handling for when the given path is not matched (#834) 4f14bffhttps://github.com/sindresorhus/type-fest/compare/v4.12.0...v4.13.0
OmitDeep
: Fix internally imported type (#824) 2061925https://github.com/sindresorhus/type-fest/compare/v4.11.0...v4.11.1
OmitDeep
(#816) 0e196aaArraySplice
(#816) 0e196aaTagged
: Add metadata support (#723) 3ec8dbahttps://github.com/sindresorhus/type-fest/compare/v4.10.3...v4.11.0
PartialOnUndefinedDeep
: Fix it incorrectly removing non-optional properties when the input type contains an index signature (#764) 2f4b55ahttps://github.com/sindresorhus/type-fest/compare/v4.10.2...v4.10.3
MergeDeep
: Fix compatibility with TypeScript 5.4 (#807) 5f6165ahttps://github.com/sindresorhus/type-fest/compare/v4.10.1...v4.10.2
exactOptionalPropertyTypes: true
tsconfig (#804) a54e313https://github.com/sindresorhus/type-fest/compare/v4.10.0...v4.10.1
Get
: Fix handling of readonly array (#799) 4a38651SharedUnionFieldsDeep
: Skip if input type is not a union type (#798) 6f1db93DelimiterCasedPropertiesDeep
: Don't recurse into intersection type that include primitive value (#789) eb96609Merge
: Don't turn undefined into optional key (#787) 0aec247https://github.com/sindresorhus/type-fest/compare/v4.9.0...v4.10.0
SharedUnionFieldsDeep
(#783) 94bb3d3ReadonlyDeep
: Fix usage with properties defined with void
(#782) a919f93ConditionalPickDeep
: Support interface (#776) ebb7a59https://github.com/sindresorhus/type-fest/compare/v4.8.3...v4.9.0
MergeDeep
: Fix optional key when value type is any
or never
(#777) 609c097Paths
: Ensure it doesn't recurse into Map
or Set
's prototype properties (#772) 6759853https://github.com/sindresorhus/type-fest/compare/v4.8.2...v4.8.3