A collection of essential TypeScript types
CC0-1.0 License
DelimiterCasedPropertiesDeep
: Fix handing of string (#768) e26c779https://github.com/sindresorhus/type-fest/compare/v4.8.1...v4.8.2
Jsonify
: Fix usage with readonly array f8019c2Element
to type BuiltIns
(#745)" 1b25feb
DOM
types are not available.https://github.com/sindresorhus/type-fest/compare/v4.8.0...v4.8.1
PickDeep
: Support interface (#755) 1c65935Paths
: Support interface (#746) 8fa831eObjectValue
: Support any kind of number index (#753) 972815cClass
: Fix type inference (#701) 7294cf0DelimiterCasedPropertiesDeep
: Improve array handling (#744) 59411c8PartialDeep
: Don't recurse into HTMLElement
(#745) d42ea80preserveConsecutiveUppercase
to PascalCase
and friends (#749) e58127ahttps://github.com/sindresorhus/type-fest/compare/v4.7.1...v4.8.0
PartialDeep
: Ensure it doesn't recurse into prototype properties" (#743) 9f47b11https://github.com/sindresorhus/type-fest/compare/v4.7.0...v4.7.1
PickDeep
(#737) c60cabaPaths
(#741) 996171bSetFieldType
(#721) 964466cUnknownArray
(#740) 30aa0adWritable
: Support array, map, and set (#726) b9723d4PartialDeep
: Ensure it doesn't recurse into prototype properties (#738) 5eeac02ConditionalPickDeep
: Ensure it doesn't recurse into prototype properties (#736) 9960ba4https://github.com/sindresorhus/type-fest/compare/v4.6.0...v4.7.0
ArrayValues
(#720) 6c76e4aArrayIndices
(#716) c330852SetParameterType
(#722) 9f2388dLastArrayElement
: Fix handling of tuple with spread elements (#727) 9630089PartialDeep
: Skip constructor (#730) 75edeefReadonlyDeep
: Skip constructor (#728) 3ee234aWritableDeep
: Fix array handling (#724) 9baccc3https://github.com/sindresorhus/type-fest/compare/v4.5.0...v4.6.0
UndefinedOnPartialDeep
(#700) d8b44cbKeysOfUnion
(#709) 0517399IntRange
(#707) e5d145dJsonify
: Improve type inference for objects with .toJSON()
extending primitives (#690) 157ed07OverrideProperties
: Fix autocomplete in the type (#712) fcdcfe9https://github.com/sindresorhus/type-fest/compare/v4.4.0...v4.5.0
UnionToIntersection
: Allow indexing by the resulting type (#682) 61f2ff9https://github.com/sindresorhus/type-fest/compare/v4.3.3...v4.4.0
IsLiteral
: Don't restrict generic type (#684) 4378507Jsonify
: Fix handling of arrays (#673) 025f6e9https://github.com/sindresorhus/type-fest/compare/v4.3.2...v4.3.3
Jsonify
: Fix handling of nested objects with only a name
property (#691) 5351533https://github.com/sindresorhus/type-fest/compare/v4.3.1...v4.3.2
https://github.com/sindresorhus/type-fest/compare/v4.3.0...v4.3.1
Tagged
(#672) 277ada2
Opaque
type that supports multiple tags (nesting).UnwrapTagged
(#672) 277ada2NonEmptyObject
(#623) 98bb74dhttps://github.com/sindresorhus/type-fest/compare/v4.2.0...v4.3.0
UnknownRecord
type (#660) b2bcc38ReadonlyDeep
: Reduce likelyhood of "instantiation excessively deep" errors (#650) cff9808https://github.com/sindresorhus/type-fest/compare/v4.1.0...v4.2.0
RequireOneOrNone
type (#654) 0a098c6https://github.com/sindresorhus/type-fest/compare/v4.0.0...v4.1.0
RemoveIndexSignature
for OmitIndexSignature
03703f0
RemoveIndexSignature
, simply rename it to OmitIndexSignature
.Jsonify
: Fix handling of tuples (#638) d743202LastArrayElement
: Avoid recursion (#647) 3475a02The next major version of type-fest
will move to ESM. It's time to start thinking about migrating if you haven't already. Learn more.
https://github.com/sindresorhus/type-fest/compare/v3.13.1...v4.0.0
Jsonify
: Fix handling of tuples (#638)" 9fdac37
type-fest
.https://github.com/sindresorhus/type-fest/compare/v3.13.0...v3.13.1
HasReadonlyKeys
(#640) a8d6ad0HasWritableKeys
(#640) a8d6ad0Jsonify
: Fix handling of tuples (#638) 605b901prototype
property when using Class
and AbstractClass
types (#632) 8edb681https://github.com/sindresorhus/type-fest/compare/v3.12.0...v3.13.0
SetReadonly
type (#624) b2e22fbhttps://github.com/sindresorhus/type-fest/compare/v3.11.1...v3.12.0
PackageJson
: Fix undefined being allowed in exports (#626) dc38b70SetRequired
: Fix performance regression (#628) 6a82900https://github.com/sindresorhus/type-fest/compare/v3.11.0...v3.11.1
WritableKeysOf
(#619) a3e1589ReadonlyKeysOf
(#619) a3e1589RequiredDeep
(#614) c2bf374typescript
as a peer dependency f7139de
https://github.com/sindresorhus/type-fest/compare/v3.10.0...v3.11.0