type-fest

A collection of essential TypeScript types

CC0-1.0 License

Downloads
705.7M
Stars
13.3K
Committers
165

Bot releases are hidden (Show)

type-fest -

Published by sindresorhus 11 months ago

  • DelimiterCasedPropertiesDeep: Fix handing of string (#768) e26c779

https://github.com/sindresorhus/type-fest/compare/v4.8.1...v4.8.2

type-fest -

Published by sindresorhus 11 months ago

  • Jsonify: Fix usage with readonly array f8019c2
  • Revert "Add Element to type BuiltIns (#745)" 1b25feb
    • It caused problems when DOM types are not available.

https://github.com/sindresorhus/type-fest/compare/v4.8.0...v4.8.1

type-fest -

Published by sindresorhus 11 months ago

  • PickDeep: Support interface (#755) 1c65935
  • Paths: Support interface (#746) 8fa831e
  • ObjectValue: Support any kind of number index (#753) 972815c
  • Class: Fix type inference (#701) 7294cf0
  • DelimiterCasedPropertiesDeep: Improve array handling (#744) 59411c8
  • PartialDeep : Don't recurse into HTMLElement (#745) d42ea80
  • Add preserveConsecutiveUppercase to PascalCase and friends (#749) e58127a

https://github.com/sindresorhus/type-fest/compare/v4.7.1...v4.8.0

type-fest -

Published by sindresorhus 11 months ago

  • Revert "PartialDeep: Ensure it doesn't recurse into prototype properties" (#743) 9f47b11

https://github.com/sindresorhus/type-fest/compare/v4.7.0...v4.7.1

type-fest -

Published by sindresorhus 12 months ago

New types

Improvements

  • Writable: Support array, map, and set (#726) b9723d4
  • PartialDeep: Ensure it doesn't recurse into prototype properties (#738) 5eeac02
  • ConditionalPickDeep: Ensure it doesn't recurse into prototype properties (#736) 9960ba4

https://github.com/sindresorhus/type-fest/compare/v4.6.0...v4.7.0

type-fest -

Published by sindresorhus 12 months ago

New types

Fixes

  • LastArrayElement: Fix handling of tuple with spread elements (#727) 9630089
  • PartialDeep: Skip constructor (#730) 75edeef
  • ReadonlyDeep: Skip constructor (#728) 3ee234a
  • WritableDeep: Fix array handling (#724) 9baccc3

Meta

  • Welcome @Emiyaaaaa as a maintainer 🎉 8a52129

https://github.com/sindresorhus/type-fest/compare/v4.5.0...v4.6.0

type-fest -

Published by sindresorhus about 1 year ago

New types

Improvements

  • Jsonify: Improve type inference for objects with .toJSON() extending primitives (#690) 157ed07
  • OverrideProperties: Fix autocomplete in the type (#712) fcdcfe9

https://github.com/sindresorhus/type-fest/compare/v4.4.0...v4.5.0

type-fest -

Published by sindresorhus about 1 year ago

  • UnionToIntersection: Allow indexing by the resulting type (#682) 61f2ff9

https://github.com/sindresorhus/type-fest/compare/v4.3.3...v4.4.0

type-fest -

Published by sindresorhus about 1 year ago

  • IsLiteral: Don't restrict generic type (#684) 4378507
  • Jsonify: Fix handling of arrays (#673) 025f6e9

https://github.com/sindresorhus/type-fest/compare/v4.3.2...v4.3.3

type-fest -

Published by sindresorhus about 1 year ago

  • Jsonify: Fix handling of nested objects with only a name property (#691) 5351533

https://github.com/sindresorhus/type-fest/compare/v4.3.1...v4.3.2

type-fest -

Published by sindresorhus about 1 year ago

type-fest -

Published by sindresorhus about 1 year ago

New types

https://github.com/sindresorhus/type-fest/compare/v4.2.0...v4.3.0

type-fest -

Published by sindresorhus about 1 year ago

  • Add UnknownRecord type (#660) b2bcc38
  • ReadonlyDeep: Reduce likelyhood of "instantiation excessively deep" errors (#650) cff9808

https://github.com/sindresorhus/type-fest/compare/v4.1.0...v4.2.0

type-fest -

Published by sindresorhus about 1 year ago

type-fest -

Published by sindresorhus over 1 year ago

Breaking

  • Require Node.js 16 and TypeScript 5.1 ca94c3b
  • Remove alias RemoveIndexSignature for OmitIndexSignature 03703f0
    • The alias was deprecated a long time ago. If you have RemoveIndexSignature, simply rename it to OmitIndexSignature.

Improvements

  • Jsonify: Fix handling of tuples (#638) d743202
  • LastArrayElement: Avoid recursion (#647) 3475a02

Note

The 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

type-fest -

Published by sindresorhus over 1 year ago

  • Revert "Jsonify: Fix handling of tuples (#638)" 9fdac37
    • It caused problems in TypeScript 4.7 and 4.8. It will be brought back in the next major release of type-fest.

https://github.com/sindresorhus/type-fest/compare/v3.13.0...v3.13.1

type-fest -

Published by sindresorhus over 1 year ago

New types

Fixes

  • Jsonify: Fix handling of tuples (#638) 605b901
  • Fix accessing prototype property when using Class and AbstractClass types (#632) 8edb681

https://github.com/sindresorhus/type-fest/compare/v3.12.0...v3.13.0

type-fest -

Published by sindresorhus over 1 year ago

type-fest -

Published by sindresorhus over 1 year ago

  • PackageJson: Fix undefined being allowed in exports (#626) dc38b70
  • SetRequired: Fix performance regression (#628) 6a82900

https://github.com/sindresorhus/type-fest/compare/v3.11.0...v3.11.1

type-fest -

Published by sindresorhus over 1 year ago

New types

Fixes

  • Remove typescript as a peer dependency f7139de
    • It was added in 3.10.0, but it caused some problems, so we are reverting it.

https://github.com/sindresorhus/type-fest/compare/v3.10.0...v3.11.0

Package Rankings
Top 11.78% on Repo1.maven.org
Top 0.44% on Npmjs.org
Top 4.09% on Proxy.golang.org
Badges
Extracted from project README
npm dependents npm downloads