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 over 1 year ago

Improvements

  • Add typescript as a peer dependency (#606) 5e6d9e8

Fixes

  • SetRequired: Fix it incorrectly combining individual key types (#611) 9c12497
  • OverrideProperties: Fix a missing case (#609) 44ec7ec

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

type-fest -

Published by sindresorhus over 1 year ago

https://github.com/sindresorhus/type-fest/compare/v3.8.0...v3.9.0

type-fest -

Published by sindresorhus over 1 year ago

https://github.com/sindresorhus/type-fest/compare/v3.7.2...v3.8.0

type-fest -

Published by sindresorhus over 1 year ago

  • Fix Merge with optional any value (#583) 60a057b

https://github.com/sindresorhus/type-fest/compare/v3.7.1...v3.7.2

type-fest -

Published by sindresorhus over 1 year ago

type-fest -

Published by sindresorhus over 1 year ago

New types

Improvements

  • Except: Add requireExactProps option (#560) c5743c9
  • TsConfigJson: Add TypeScript 5.0 options (#573) aafc938

https://github.com/sindresorhus/type-fest/compare/v3.6.1...v3.7.0

type-fest -

Published by sindresorhus over 1 year ago

  • Join: Fix usage of single element const tuple (#558) 747e29b

https://github.com/sindresorhus/type-fest/compare/v3.6.0...v3.6.1

type-fest -

Published by sindresorhus over 1 year ago

New types

Fixes

  • PackageJson: Fix Imports and Exports types (#555) 3ebab0d

https://github.com/sindresorhus/type-fest/compare/v3.5.7...v3.6.0

type-fest -

Published by sindresorhus over 1 year ago

  • TsConfigJson: Fix Plugin type (#554) e3b1e96

https://github.com/sindresorhus/type-fest/compare/v3.5.6...v3.5.7

type-fest -

Published by sindresorhus over 1 year ago

  • Fix Simplify to actually expand type-hints (#553) aaef3e3

https://github.com/sindresorhus/type-fest/compare/v3.5.5...v3.5.6

type-fest -

Published by sindresorhus over 1 year ago

  • PackageJson: Make Imports object properties optional (#551) a729046

https://github.com/sindresorhus/type-fest/compare/v3.5.4...v3.5.5

type-fest -

Published by sindresorhus over 1 year ago

  • JsonValue: Fix support for readonly arrays (#549) 311051c

https://github.com/sindresorhus/type-fest/compare/v3.5.3...v3.5.4

type-fest -

Published by sindresorhus over 1 year ago

  • Exact: Fix handling of deep optional unions (#546) 5125e1b

https://github.com/sindresorhus/type-fest/compare/v3.5.2...v3.5.3

type-fest -

Published by sindresorhus almost 2 years ago

  • CamelCase: Fix some cases where it would incorrectly resolve to never
  • Trim: Remove all whitespace, not just spaces

https://github.com/sindresorhus/type-fest/compare/v3.5.1...v3.5.2

type-fest -

Published by sindresorhus almost 2 years ago

  • TsConfigJson: Add missing ES2022 (#536) 1e76932

https://github.com/sindresorhus/type-fest/compare/v3.5.0...v3.5.1

type-fest -

Published by sindresorhus almost 2 years ago

New types

Improvements

  • Join: Support const tuple values (#533) db81191
  • TsConfigJson: Sync with latest TypeScript version (#529) 9f04028

Fixes

  • CamelCase: Fix handling of non-literal strings (#531) 00b13f8

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

type-fest -

Published by sindresorhus almost 2 years ago

New types

Fixes

  • Exact: Fix handling of Opaque types (#525) 84269a7

https://github.com/sindresorhus/type-fest/compare/v3.3.0...v3.4.0

type-fest -

Published by sindresorhus almost 2 years ago

Improvements

  • Jsonify: Add "jump to definition" and any support (#519) 2071f47

Fixes

  • SetNonNullable: Fix usage in type predicate context (#515) 9bae03b

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

type-fest -

Published by sindresorhus almost 2 years ago

New types

Improvements

  • TupleToUnion: Support array (#504) a68f6b2
  • CamelCase: Add preserveConsecutiveUppercase option (#501) b11f017
  • PackageJson: Strict check for imports (#478) 846f4db

Fixes

  • Jsonify: Make it look deeper (#498) e11d30b
  • Jsonify: Fix usage with empty Set and Map (#497) f24821b

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

type-fest -

Published by sindresorhus about 2 years ago

  • Add (experimental) MergeDeep type (#452) fedbc44
    • Feedback wanted
  • SetNonNullable: Make it possible to apply it to all keys (#482) 7d492c8
    • Just leave out the second generic parameter to make it apply to all keys.

https://github.com/sindresorhus/type-fest/compare/v3.0.0...v3.1.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