type-fest breaking changes
Updated December 4, 2026
On this page
Latest version 6.0.3, released November 19, 2026. Source repository
Its 6.0.0 release requires Node.js 22 or later. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 241 breaking changes in 1 version.
- From 0.21.0 to 6.0.0: 699 breaking changes in 110 versions.
type-fest 6.0.0 breaking changes
- Removed
IfAny
Use If with the matching Is* type instead. npmjs.com - Removed
IfEmptyObject
Use If with the matching Is* type instead. npmjs.com - Removed
IfNever
Use If with the matching Is* type instead. npmjs.com - Removed
IfNull
Use If with the matching Is* type instead. npmjs.com - Removed
IfUnknown
Use If with the matching Is* type instead. npmjs.com - Removed
ReadonlyTuple
Use Readonly<TupleOf<Length, Element>> instead. npmjs.com - Removed
SplitOptions.strictLiteralChecks
SplitOptions.strictLiteralChecks was removed in type-fest 6.0.0 npmjs.com - Removed
StringToArrayOptions.mapNonLiteralsDirectly
StringToArrayOptions.mapNonLiteralsDirectly was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson
Options and values that TypeScript 5.5 removed and TypeScript 6.0 deprecated are removed from the type. github.com - Removed
TsConfigJson.CompilerOptions.baseUrl
TsConfigJson.CompilerOptions.baseUrl was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.charset
TsConfigJson.CompilerOptions.charset was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.downlevelIteration
TsConfigJson.CompilerOptions.downlevelIteration was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.fallbackPolling
Use watchOptions.fallbackPolling instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.FallbackPolling
TsConfigJson.CompilerOptions.FallbackPolling was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.importsNotUsedAsValues
Use verbatimModuleSyntax instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.ImportsNotUsedAsValues
TsConfigJson.CompilerOptions.ImportsNotUsedAsValues was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.keyofStringsOnly
TsConfigJson.CompilerOptions.keyofStringsOnly was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.listFilesOnly
TsConfigJson.CompilerOptions.listFilesOnly was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.noImplicitUseStrict
TsConfigJson.CompilerOptions.noImplicitUseStrict was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.noStrictGenericChecks
TsConfigJson.CompilerOptions.noStrictGenericChecks was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.outFile
TsConfigJson.CompilerOptions.outFile was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.preserveValueImports
Use verbatimModuleSyntax instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.suppressExcessPropertyErrors
TsConfigJson.CompilerOptions.suppressExcessPropertyErrors was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.suppressImplicitAnyIndexErrors
TsConfigJson.CompilerOptions.suppressImplicitAnyIndexErrors was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.watch
Use watchOptions instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.watchDirectory
Use watchOptions.watchDirectory instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.WatchDirectory
TsConfigJson.CompilerOptions.WatchDirectory was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.CompilerOptions.watchFile
Use watchOptions.watchFile instead. npmjs.com - Removed
TsConfigJson.CompilerOptions.WatchFile
TsConfigJson.CompilerOptions.WatchFile was removed in type-fest 6.0.0 npmjs.com - Removed
TsConfigJson.References.prepend
TsConfigJson.References.prepend was removed in type-fest 6.0.0 npmjs.com - Behavior changed
CamelCase
CamelCase<'p2p_network'> is now 'p2pNetwork' instead of 'p2PNetwork'. github.com - Behavior changed
ConditionalPickDeep
A never value is no longer picked, and an any value is now picked. github.com - Behavior changed
Entries
Each key is now paired with its own value in the result. github.com - Behavior changed
Entry
Entry<{a: 1; b: 'x'}> is now ['a', 1] | ['b', 'x'] instead of a combined key and value union. github.com - Behavior changed
ExtendsStrict
ExtendsStrict<any, number> is now false. Pass strictAny false to keep the old behavior. github.com - Behavior changed
Finite
Finite now returns never for the wide number type instead of number. github.com - Behavior changed
FixedLengthArray
A non-literal length like number now gives never. Use a normal array type for an unknown length. github.com - Behavior changed
Get
Get<{a: 1} | {b: 2}, 'a'> is now 1 | undefined instead of unknown. github.com - Behavior changed
HasRequiredKeys
It now returns false for index signatures, arrays without required elements, and any, instead of true. github.com - Behavior changed
IsEmptyObject
object now gives false (was true) and any gives false (was boolean). github.com - Behavior changed
IsNull
IsNull now returns false for any and never instead of true. github.com - Behavior changed
IsUndefined
IsUndefined now returns false for any and never instead of true. github.com - Behavior changed
Jsonifiable
Values typed object are now rejected because they can contain anything. github.com - Behavior changed
KebabCase
KebabCase now splits on punctuation and removes a leading dollar sign, so existing outputs change. github.com - Behavior changed
LiteralToPrimitiveDeep
A tuple such as [1] becomes [number] instead of number[]. github.com - Behavior changed
NonNegative
NonNegative returns never for wide number and rejects Infinity values. github.com - Behavior changed
PartialDeep
Elements of arrays and tuples are now deeply partial, and tuple fixed elements become optional. github.com - Behavior changed
PartialOnUndefinedDeep
Arrays are now recursed into by default. github.com - Behavior changed
ReadonlyDeep
Date is converted to ReadonlyDate, which has no set methods. WritableDeep converts it back. github.com - Behavior changed
RemovePrefix
A non-literal input that cannot contain the affix now gives string. github.com
And 191 more in this version. Sign up to see every change
type-fest 5.0.0 breaking changes
- Removed
ArrayTail.preserveReadonly
The preserveReadonly option was removed from ArrayTail because it is now always on. github.com - Renamed
ObservableLike
ObservableLike is no longer exported from the root and must be imported from its sub-export. npmjs.com - Renamed
Observer
Use Observer instead. npmjs.com - Renamed
OnComplete
Use OnComplete instead. npmjs.com - Renamed
OnError
Use OnError instead. npmjs.com - Renamed
OnNext
Use OnNext instead. npmjs.com - Renamed
StringKeyOf
Replace StringKeyOf with KeyAsString. npmjs.com - Renamed
Unsubscribable
Use Unsubscribable instead. npmjs.com - Behavior changed
The package no longer ships CommonJS. Code that uses require() must switch to ESM import. github.com - Default changed
ArrayTail
ArrayTail now enables preserveReadonly by default. github.com
And 37 more in this version. Sign up to see every change
type-fest 4.41.0 breaking changes
- Signature changed
GreaterThan
Was type GreaterThan<A extends number, B extends number> = number extends A | B ? never : [IsEqual<A, PositiveInfinity>, IsEqual<A, NegativeInfinity>, IsEqual<B, PositiveInfinity>, IsEqual<B, NegativeInfinity>] extends infer R extends... npmjs.com - Signature changed
LessThan
Was type LessThan<A extends number, B extends number> = number extends A | B ? never : GreaterThanOrEqual<A, B> extends true ? false : true; now type LessThan<A extends number, B extends number> = number extends A | B ? never... npmjs.com - Signature changed
RequireAllOrNone
Was type RequireAllOrNone<ObjectType, KeysType extends keyof ObjectType = keyof ObjectType> = (| RequireAll<ObjectType, KeysType> | RequireNone<KeysType>) & Omit<ObjectType, KeysType>; now type RequireAllOrNone<ObjectType, KeysType extends... npmjs.com - Signature changed
RequireAtLeastOne
Was type RequireAtLeastOne<ObjectType, KeysType extends keyof ObjectType = keyof ObjectType> = {[Key in KeysType]-?: Required<Pick<ObjectType, Key>> & Partial<Pick<ObjectType, Exclude<KeysType, Key>>>;}[KeysType] & Except<ObjectType... npmjs.com - Signature changed
RequireExactlyOne
Was type RequireExactlyOne<ObjectType, KeysType extends keyof ObjectType = keyof ObjectType> = {[Key in KeysType]: (Required<Pick<ObjectType, Key>> & Partial<Record<Exclude<KeysType, Key>, never>>)}[KeysType] & Omit<ObjectType, KeysType>... npmjs.com - Signature changed
RequireOneOrNone
Was type RequireOneOrNone<ObjectType, KeysType extends keyof ObjectType = keyof ObjectType> = (| RequireExactlyOne<ObjectType, KeysType> | RequireNone<KeysType>) & Omit<ObjectType, KeysType>; now type RequireOneOrNone<ObjectType, KeysType... npmjs.com
type-fest 4.40.0 breaking changes
- Signature changed
IsFloat
Was type IsFloat<T> = T extends number ? `${T}` extends `${infer _Sign extends '' | '-'}${number}.${infer Decimal extends number}` ? Decimal extends Zero ? false : true : false : false; now type IsFloat<T> = T extends number ? `${T}`... npmjs.com
type-fest 4.39.1 breaking changes
- Signature changed
OptionalKeysOf
Was type OptionalKeysOf<BaseType extends object> = KeysOfUnion<{[Key in keyof BaseType as BaseType extends Record<Key, BaseType[Key]> ? never : Key]: never}>; now type OptionalKeysOf<BaseType extends object> = BaseType extends unknown ?... npmjs.com - Signature changed
WritableKeysOf
Was type WritableKeysOf<T> = KeysOfUnion<{[P in keyof T as IsEqual<{[Q in P]: T[P]}, {readonly [Q in P]: T[P]}> extends false ? P : never]: never}>; now type WritableKeysOf<T> = T extends unknown ? (keyof {[P in keyof T as IsEqual<{[Q in... npmjs.com
type-fest 4.39.0 breaking changes
- Signature changed
ArrayTail
Was type ArrayTail<TArray extends UnknownArrayOrTuple> = TArray extends readonly [unknown?, ...infer Tail] ? keyof TArray & `${number}` extends never ? [] : Tail : []; now type ArrayTail<TArray extends UnknownArray, Options extends... npmjs.com - Signature changed
OptionalKeysOf
Was type OptionalKeysOf<BaseType extends object> = Exclude<{[Key in keyof BaseType]: BaseType extends Record<Key, BaseType[Key]> ? never : Key}[keyof BaseType], undefined>; now type OptionalKeysOf<BaseType extends object> =... npmjs.com - Signature changed
ReadonlyKeysOf
Was type ReadonlyKeysOf<T> = NonNullable<{[P in keyof T]: IsEqual<{[Q in P]: T[P]}, {readonly [Q in P]: T[P]}> extends true ? P : never}[keyof T]>; now type ReadonlyKeysOf<T> = T extends unknown ? Exclude<keyof T, WritableKeysOf<T>>... npmjs.com - Signature changed
RequiredKeysOf
Was type RequiredKeysOf<BaseType extends object> = Exclude<{[Key in keyof BaseType]: BaseType extends Record<Key, BaseType[Key]> ? Key : never}[keyof BaseType], undefined>; now type RequiredKeysOf<BaseType extends object> = BaseType... npmjs.com - Signature changed
WritableKeysOf
Was type WritableKeysOf<T> = NonNullable<{[P in keyof T]: IsEqual<{[Q in P]: T[P]}, {readonly [Q in P]: T[P]}> extends false ? P : never}[keyof T]>; now type WritableKeysOf<T> = KeysOfUnion<{[P in keyof T as IsEqual<{[Q in P]: T[P]}... npmjs.com
Older versions
105 older versions, each with its first changes. Sign up to see every change
Show 105 older versions
type-fest 4.38.0 breaking changes
- Behavior changed
CamelCasedPropertiesDeep
CamelCasedPropertiesDeep now applies its options to objects nested inside arrays, so those keys may be transformed differently than before. github.com - Signature changed
CamelCase
Was type CamelCase<Type, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Type extends string ? string extends Type ? Type : Uncapitalize<CamelCaseFromArray<Words<Type extends Uppercase<Type> ? Lowercase<Type>... npmjs.com
And 27 more in this version.
type-fest 4.37.0 breaking changes
- Default changed
DelimiterCase
The release fixed the default value of the splitOnNumbers option. Code that relied on the previous default may see different results and should set the option explicitly. github.com - Default changed
KebabCase
The release fixed the default value of the splitOnNumbers option. Code that relied on the previous default may see different results and should set the option explicitly. github.com
And 9 more in this version.
type-fest 4.36.0 breaking changes
- Signature changed
DelimiterCase
Was type DelimiterCase<Value, Delimiter extends string> = string extends Value ? Value : Value extends string ? StringArrayToDelimiterCase<SplitIncludingDelimiters<Value, WordSeparators | UpperCaseCharacters>, true, WordSeparators... npmjs.com - Signature changed
KebabCase
Was type KebabCase<Value> = DelimiterCase<Value, '-'>; now type KebabCase<Value, Options extends WordsOptions = {}> = DelimiterCase<Value, '-', Options>. npmjs.com
And 6 more in this version.
type-fest 4.35.0 breaking changes
- Signature changed
Paths
Was type Paths<T, Options extends PathsOptions = {}> = _Paths<T, {maxRecursionDepth: Options['maxRecursionDepth'] extends number ? Options['maxRecursionDepth'] : DefaultPathsOptions['maxRecursionDepth']; bracketNotation... npmjs.com
type-fest 4.34.0 breaking changes
- Signature changed
OmitDeep
Was type OmitDeep<T, PathUnion extends LiteralUnion<Paths<T>, string>> = SimplifyDeep<SharedUnionFieldsDeep<{[P in PathUnion]: OmitDeepWithOnePath<T, P>}[PathUnion]>, UnknownArray>; now type OmitDeep<T, PathUnion extends... npmjs.com - Signature changed
Paths
Was type Paths<T, Options extends PathsOptions = {}> = _Paths<T, {maxRecursionDepth: Options['maxRecursionDepth'] extends number ? Options['maxRecursionDepth'] : DefaultPathsOptions['maxRecursionDepth']; bracketNotation... npmjs.com
type-fest 4.33.0 breaking changes
- Signature changed
Get
Was type Get<BaseType, Path extends | readonly string[] | LiteralStringUnion<ToString<Paths<BaseType, {bracketNotation: false}> | Paths<BaseType, {bracketNotation: true}>>>, Options extends GetOptions = {}> = GetWithPath<BaseType, Path... npmjs.com - Signature changed
IsStringLiteral
Was type IsStringLiteral<T> = LiteralCheck<T, string>; now type IsStringLiteral<T> = IfNever<T, false, T extends string ? {} extends Record<T, never> ? false : true : false>. npmjs.com
And 8 more in this version.
type-fest 4.32.0 breaking changes
- Signature changed
PartialDeep
Was type PartialDeep<T, Options extends PartialDeepOptions = {}> = T extends BuiltIns | (((...arguments_: any[]) => unknown)) | (new (...arguments_: any[]) => unknown) ? T : T extends Map<infer KeyType, infer ValueType> ?... npmjs.com - Signature changed
PartialDeepOptions
Was type PartialDeepOptions = {readonly recurseIntoArrays?: boolean;}; now type PartialDeepOptions = {readonly recurseIntoArrays?: boolean; readonly allowUndefinedInNonTupleArrays?: boolean;}. npmjs.com
And 1 more in this version.
type-fest 4.31.0 breaking changes
- Signature changed
IsEqual
Was type IsEqual<A, B> = (<G>() => G extends A ? 1 : 2) extends (<G>() => G extends B ? 1 : 2) ? true : false; now type IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false. npmjs.com - Signature changed
SetFieldType
Was type SetFieldType<BaseType, Keys extends keyof BaseType, NewType> = Simplify<Except<BaseType, Keys> & Record<Keys, NewType>>; now type SetFieldType<BaseType, Keys extends keyof BaseType, NewType, Options extends SetFieldTypeOptions =... npmjs.com
And 3 more in this version.
type-fest 4.30.2 breaking changes
- Signature changed
SetOptional
Was type SetOptional<BaseType, Keys extends keyof BaseType> = Simplify<Except<BaseType, Keys> & Partial<Pick<BaseType, Keys>>>; now type SetOptional<BaseType, Keys extends keyof BaseType> = BaseType extends unknown ?... npmjs.com - Signature changed
SetReadonly
Was type SetReadonly<BaseType, Keys extends keyof BaseType> = BaseType extends unknown ? Simplify<Except<BaseType, Keys> & Readonly<Pick<BaseType, Keys>>> : never; now type SetReadonly<BaseType, Keys extends keyof BaseType> = BaseType... npmjs.com
And 1 more in this version.
type-fest 4.30.1 breaking changes
- Signature changed
Arrayable
The Arrayable type drops its readonly modifier, so readonly arrays may no longer be accepted where Arrayable is expected. npmjs.com - Signature changed
SharedUnionFields
Was type SharedUnionFields<Union> = IsUnion<Union> extends false ? Union : [Union] extends [NonRecursiveType | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> | UnknownArray] ? Union : [Union] extends [object] ? keyof Union extends... npmjs.com
type-fest 4.30.0 breaking changes
- Signature changed
ArrayTail
Was type ArrayTail<TArray extends UnknownArrayOrTuple> = TArray extends readonly [unknown, ...infer Tail] ? Tail : []; now type ArrayTail<TArray extends UnknownArrayOrTuple> = TArray extends readonly [unknown?, ...infer Tail] ? keyof... npmjs.com
type-fest 4.29.1 breaking changes
- Signature changed
IsAny
Was type IsAny<T> = 0 extends 1 & T ? true : false; now type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false. npmjs.com
type-fest 4.29.0 breaking changes
- Signature changed
Schema
Was type Schema<ObjectType, ValueType> = ObjectType extends string ? ValueType : ObjectType extends Map<unknown, unknown> ? ValueType : ObjectType extends Set<unknown> ? ValueType : ObjectType extends ReadonlyMap<unknown, unknown> ?... npmjs.com
type-fest 4.28.0 breaking changes
- Signature changed
TsConfigJson.CompilerOptions
Was type CompilerOptions = {charset?: string; composite?: boolean; declaration?: boolean; declarationDir?: string; diagnostics?: boolean; disableReferencedProjectLoad?: boolean; noPropertyAccessFromIndexSignature?: boolean; emitBOM?... npmjs.com - Signature changed
TsConfigJson.CompilerOptions.Lib
Was type Lib = | 'ES5' | 'ES6' | 'ES7' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' |... npmjs.com
And 2 more in this version.
type-fest 4.27.1 breaking changes
- Signature changed
ArraySlice
Was type ArraySlice<Array_ extends readonly unknown[], Start extends number = never, End extends number = never> = And<IsEqual<Start, never>, IsEqual<End, never>> extends true ? Array_ : number extends Array_['length'] ?... npmjs.com - Signature changed
SharedUnionFieldsDeep
Was type SharedUnionFieldsDeep<Union, Options extends SharedUnionFieldsDeepOptions = {recurseIntoArrays: false}> = IsUnion<Union> extends false ? Union : [Union] extends [NonRecursiveType | ReadonlyMap<unknown, unknown> |... npmjs.com
type-fest 4.27.0 breaking changes
- Signature changed
CamelCase
Was type CamelCase<Type, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Type extends string ? string extends Type ? Type : Uncapitalize<CamelCaseFromArray<SplitWords<Type extends Uppercase<Type> ?... npmjs.com - Signature changed
TsConfigJson.CompilerOptions
Was type CompilerOptions = {charset?: string; composite?: boolean; declaration?: boolean; declarationDir?: string; diagnostics?: boolean; disableReferencedProjectLoad?: boolean; noPropertyAccessFromIndexSignature?: boolean; emitBOM?... npmjs.com
type-fest 4.26.1 breaking changes
- Signature changed
Exact
Was type Exact<ParameterType, InputType> = ParameterType extends Primitive ? ParameterType : IsUnknown<ParameterType> extends true ? unknown : ParameterType extends Function ? ParameterType : IsEqual<ParameterType, InputType> extends true... npmjs.com
type-fest 4.26.0 breaking changes
- Signature changed
Get
Was type Get<BaseType, Path extends string | readonly string[], Options extends GetOptions = {}> = GetWithPath<BaseType, Path extends string ? ToPath<Path> : Path, Options>; now type Get<BaseType, Path extends | readonly string[] |... npmjs.com
type-fest 4.24.0 breaking changes
- Signature changed
Paths
Was type Paths<T, Options extends PathsOptions = {}> = T extends NonRecursiveType | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> ? never : IsAny<T> extends true ? never : T extends UnknownArray ? number extends T['length'] ?... npmjs.com
type-fest 4.23.0 breaking changes
- Signature changed
Paths
Was type Paths<T> = Paths_<T>; now type Paths<T, Options extends PathsOptions = {}> = T extends NonRecursiveType | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> ? never : IsAny<T> extends true ? never : T extends UnknownArray ?... npmjs.com
type-fest 4.22.0 breaking changes
- Signature changed
Exact
Was type Exact<ParameterType, InputType> = IsEqual<ParameterType, InputType> extends true ? ParameterType : ParameterType extends unknown[] ? Array<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>> : ParameterType extends... npmjs.com - Signature changed
RequireAllOrNone
Was type RequireAllOrNone<ObjectType, KeysType extends keyof ObjectType = never> = (| RequireAll<ObjectType, KeysType> | RequireNone<KeysType>) & Omit<ObjectType, KeysType>; now type RequireAllOrNone<ObjectType, KeysType extends keyof... npmjs.com
And 1 more in this version.
type-fest 4.21.0 breaking changes
- Behavior changed
Jsonify
Jsonify converts undefined to null in union elements of arrays; code relying on the previous type output may need adjusting. github.com - Signature changed
CamelCasedPropertiesDeep
Was type CamelCasedPropertiesDeep<Value, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Value extends Function ? Value : Value extends UnknownArray ? CamelCasedPropertiesArrayDeep<Value> : Value extends... npmjs.com
And 1 more in this version.
type-fest 4.20.1 breaking changes
- Signature changed
Paths
Was type Paths<T> = T extends NonRecursiveType | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> ? never : IsAny<T> extends true ? never : T extends UnknownArray ? number extends T['length'] ? InternalPaths<StaticPartOfArray<T>> |... npmjs.com - Signature changed
Schema
Was type Schema<ObjectType, ValueType> = ObjectType extends string ? ValueType : ObjectType extends Map<unknown, unknown> ? ValueType : ObjectType extends Set<unknown> ? ValueType : ObjectType extends ReadonlyMap<unknown, unknown> ?... npmjs.com
type-fest 4.20.0 breaking changes
- Behavior changed
IsLiteral
IsLiteral returns false for tagged types in this release. Code that relied on it returning true for tagged types must be updated. github.com - Signature changed
MergeDeep
Was type MergeDeep<Destination, Source, Options extends MergeDeepOptions = {}> = MergeDeepWithDefaultOptions<SimplifyDeep<Destination>, SimplifyDeep<Source>, Options>; now type MergeDeep<Destination, Source, Options extends... npmjs.com
And 2 more in this version.
type-fest 4.18.3 breaking changes
- Signature changed
ConditionalKeys
Was type ConditionalKeys<Base, Condition> = {[Key in keyof Base]-?: Base[Key] extends Condition ? Key : never;}[keyof Base]; now type ConditionalKeys<Base, Condition> = {[Key in keyof Base]-?: Base[Key] extends Condition ?... npmjs.com
type-fest 4.18.2 breaking changes
- Signature changed
CamelCasedPropertiesDeep
Was type CamelCasedPropertiesDeep<Value, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Value extends Function ? Value : Value extends Array<infer U> ? Array<CamelCasedPropertiesDeep<U, Options>> : Value extends... npmjs.com
type-fest 4.18.0 breaking changes
- Signature changed
TsConfigJson.CompilerOptions.Lib
Was type Lib = | 'ES5' | 'ES6' | 'ES7' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' |... npmjs.com - Signature changed
TsConfigJson.CompilerOptions.Module
Was type Module = | 'CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ES2022' | 'ESNext' | 'Node16' | 'NodeNext' | 'None' | 'commonjs' | 'amd' | 'system' | 'umd' | 'es6' | 'es2015' | 'es2020' | 'es2022' | 'esnext' |... npmjs.com
type-fest 4.16.0 breaking changes
- Signature changed
Float
Was type Float<T extends number> = T extends Integer<T> ? never : T; now type Float<T> = T extends unknown ? IsFloat<T> extends true ? T : never : never. npmjs.com - Signature changed
Integer
Was type Integer<T extends number> = `${T}` extends `${bigint}` ? T : never; now type Integer<T> = T extends unknown ? IsInteger<T> extends true ? T : never : never. npmjs.com
type-fest 4.15.0 breaking changes
- Signature changed
ConditionalKeys
Was type ConditionalKeys<Base, Condition> = NonNullable<{[Key in keyof Base]: Base[Key] extends Condition ? Key : never;}[keyof Base]>; now type ConditionalKeys<Base, Condition> = {[Key in keyof Base]-?: Base[Key] extends Condition ? Key... npmjs.com
type-fest 4.14.0 breaking changes
- Signature changed
Asyncify
Was type Asyncify<Fn extends (...arguments_: any[]) => any> = SetReturnType<Fn, Promise<Awaited<ReturnType<Fn>>>>; now type Asyncify<Function_ extends (...arguments_: any[]) => any> = SetReturnType<Function_... npmjs.com - Signature changed
ReadonlyDeep
Was type ReadonlyDeep<T> = T extends BuiltIns ? T : T extends new (...args: any[]) => unknown ? T : T extends (...arguments_: any[]) => unknown ? {} extends ReadonlyObjectDeep<T> ? T : HasMultipleCallSignatures<T> extends true ? T... npmjs.com
And 2 more in this version.
type-fest 4.13.0 breaking changes
- Signature changed
ArraySlice
Was type ArraySlice<Array_ extends readonly unknown[], Start extends number = 0, End extends number = Array_['length']> = ArraySliceHelper<Array_, Start, End>; now type ArraySlice<Array_ extends readonly unknown[], Start extends number =... npmjs.com - Signature changed
OmitDeep
Was type OmitDeep<T, PathUnion extends Paths<T>> = SimplifyDeep<SharedUnionFieldsDeep<{[P in PathUnion]: OmitDeepWithOnePath<T, P>}[PathUnion]>>; now type OmitDeep<T, PathUnion extends LiteralUnion<Paths<T>, string>> =... npmjs.com
And 3 more in this version.
type-fest 4.11.0 breaking changes
- Signature changed
Tagged
Was type Tagged<Type, Tag extends PropertyKey> = Type & MultiTagContainer<Tag>; now type Tagged<Type, TagName extends PropertyKey, TagMetadata = never> = Type & Tag<TagName, TagMetadata>. npmjs.com - Signature changed
UnwrapOpaque
Was type UnwrapOpaque<OpaqueType extends TagContainer<unknown>> = OpaqueType extends MultiTagContainer<string | number | symbol> ? RemoveAllTags<OpaqueType> : OpaqueType extends Opaque<infer Type, OpaqueType[typeof tag]> ? Type... npmjs.com
And 1 more in this version.
type-fest 4.10.3 breaking changes
- Signature changed
PartialOnUndefinedDeep
Was type PartialOnUndefinedDeep<T, Options extends PartialOnUndefinedDeepOptions = {}> = T extends Record<any, any> | undefined ? {[KeyType in keyof T as undefined extends T[KeyType] ? KeyType : never]?... npmjs.com
type-fest 4.10.0 breaking changes
- Behavior changed
Merge
The Merge type now keeps keys whose type is undefined as required instead of optional. Check code that depends on the old optional-key types. github.com - Signature changed
DelimiterCasedPropertiesDeep
Was type DelimiterCasedPropertiesDeep<Value, Delimiter extends string> = Value extends Function | Date | RegExp ? Value : Value extends UnknownArray ? DelimiterCasedPropertiesArrayDeep<Value, Delimiter> : Value extends Set<infer U> ?... npmjs.com
And 2 more in this version.
type-fest 4.9.0 breaking changes
- Signature changed
ConditionalPickDeep
Was type ConditionalPickDeep<Type, Condition, Options extends ConditionalPickDeepOptions = {}> = ConditionalSimplifyDeep<ConditionalExcept<{[Key in keyof Type]: AssertCondition<Type[Key], Condition, Options> extends true ? Type[Key]... npmjs.com - Signature changed
Paths
Was type Paths<T> = T extends NonRecursiveType | ReadonlyMap<unknown, unknown> | ReadonlySet<unknown> ? never : IsAny<T> extends true ? never : T extends UnknownArray ? number extends T['length'] ? InternalPaths<FilterFixedIndexArray<T>> |... npmjs.com
type-fest 4.8.3 breaking changes
- Signature changed
Paths
Was type Paths<T> = T extends NonRecursiveType ? never : IsAny<T> extends true ? never : T extends UnknownArray ? number extends T['length'] ? InternalPaths<FilterFixedIndexArray<T>> |... npmjs.com
type-fest 4.8.2 breaking changes
- Signature changed
DelimiterCasedPropertiesDeep
Was type DelimiterCasedPropertiesDeep<Value, Delimiter extends string> = Value extends Function | Date | RegExp ? Value : Value extends string ? DelimiterCase<Value, Delimiter> : Value extends UnknownArray ?... npmjs.com - Signature changed
Join
Was type Join<Items extends readonly JoinableItem[], Delimiter extends string> = Items extends [] ? '' : Items extends readonly [JoinableItem?] ? `${NullishCoalesce<Items[0], ''>}` : Items extends readonly [infer First extends... npmjs.com
And 1 more in this version.
type-fest 4.8.1 breaking changes
- Behavior changed
BuiltIns
The addition of Element to BuiltIns was reverted because it caused problems when DOM types were not available. Code that relied on Element being treated as a built-in type may behave differently. github.com
type-fest 4.8.0 breaking changes
- Behavior changed
DelimiterCasedPropertiesDeep
Array handling in DelimiterCasedPropertiesDeep was improved, so resulting types for arrays may change. Check code that relies on the previous array output. github.com - Behavior changed
PartialDeep
PartialDeep stops recursing into HTMLElement, so the derived types for HTMLElement properties change. Check code that depends on the previous recursive type. github.com
And 9 more in this version.
type-fest 4.7.1 breaking changes
- Behavior changed
PartialDeep
The 4.7.0 change that stopped PartialDeep from recursing into prototype properties is reverted, so PartialDeep's recursion behavior returns to what it was before 4.7.0. github.com - Signature changed
PartialDeep
Was type PartialDeep<T, Options extends PartialDeepOptions = {}> = T extends BuiltIns | (((...arguments_: any[]) => unknown)) | (new (...arguments_: any[]) => unknown) ? T : T extends Map<infer KeyType, infer ValueType> ?... npmjs.com
type-fest 4.7.0 breaking changes
- Signature changed
ConditionalPickDeep
Was type ConditionalPickDeep<Type, Condition, Options extends ConditionalPickDeepOptions = {}> = ConditionalSimplifyDeep<ConditionalExcept<{[Key in keyof Type]: AssertCondition<Type[Key], Condition, Options> extends true ? Type[Key]... npmjs.com - Signature changed
PartialDeep
Was type PartialDeep<T, Options extends PartialDeepOptions = {}> = T extends BuiltIns | (((...arguments_: any[]) => unknown)) | (new (...arguments_: any[]) => unknown) ? T : T extends Map<infer KeyType, infer ValueType> ?... npmjs.com
And 1 more in this version.
type-fest 4.6.0 breaking changes
- Signature changed
LastArrayElement
Was type LastArrayElement<Elements extends readonly unknown[]> = number extends Elements['length'] ? Elements extends ReadonlyArray<infer Element> ? Element : never : Elements extends readonly [...any, infer Target] ? Target : never; now... npmjs.com - Signature changed
PartialDeep
Was type PartialDeep<T, Options extends PartialDeepOptions = {}> = T extends BuiltIns ? T : T extends Map<infer KeyType, infer ValueType> ? PartialMapDeep<KeyType, ValueType, Options> : T extends Set<infer ItemType> ?... npmjs.com
And 2 more in this version.
type-fest 4.5.0 breaking changes
- Signature changed
Jsonify
Was type Jsonify<T> = IsAny<T> extends true ? any : T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends Number ? number : T extends String ? string : T extends Boolean ? boolean : T extends... npmjs.com - Signature changed
OverrideProperties
Was type OverrideProperties<TOriginal, TOverride extends {[Key in keyof TOverride]: Key extends keyof TOriginal ? TOverride[Key] : never}> = Merge<TOriginal, TOverride>; now type OverrideProperties<TOriginal, TOverride extends... npmjs.com
type-fest 4.4.0 breaking changes
- Signature changed
UnionToIntersection
Was type UnionToIntersection<Union> = (Union extends unknown ? (distributedUnion: Union) => void : never) extends ((mergedIntersection: infer Intersection) => void) ? Intersection : never; now type UnionToIntersection<Union> = (Union... npmjs.com
type-fest 4.3.3 breaking changes
- Signature changed
IsLiteral
Was type IsLiteral<T extends Primitive> = IsNotFalse<IsLiteralUnion<T>>; now type IsLiteral<T> = IsPrimitive<T> extends true ? IsNotFalse<IsLiteralUnion<T>> : false. npmjs.com - Signature changed
Jsonify
Was type Jsonify<T> = IsAny<T> extends true ? any : T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends Number ? number : T extends String ? string : T extends Boolean ? boolean : T extends... npmjs.com
type-fest 4.3.0 breaking changes
- Signature changed
ConditionalPickDeep
Was type ConditionalPickDeep<Type, Condition, Options extends ConditionalPickDeepOptions = {}> = ConditionalSimplifyDeep<ConditionalExcept<{[Key in keyof Type]: AssertCondition<Type[Key], Condition, Options> extends true ? Type[Key]... npmjs.com - Signature changed
Exact
Was type Exact<ParameterType, InputType> = IsEqual<ParameterType, InputType> extends true ? ParameterType : ParameterType extends unknown[] ? Array<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>> : ParameterType extends... npmjs.com
And 3 more in this version.
type-fest 4.2.0 breaking changes
- Signature changed
ReadonlyDeep
Was type ReadonlyDeep<T> = T extends BuiltIns ? T : T extends (...arguments_: any[]) => unknown ? {} extends ReadonlyObjectDeep<T> ? T : HasMultipleCallSignatures<T> extends true ? T : ((...arguments_: Parameters<T>) => ReturnType<T>) &... npmjs.com
type-fest 4.1.0 breaking changes
- Signature changed
RequireAllOrNone
Was type RequireAllOrNone<ObjectType, KeysType extends keyof ObjectType = never> = (| Required<Pick<ObjectType, KeysType>> | Partial<Record<KeysType, never>>) & Omit<ObjectType, KeysType>; now type RequireAllOrNone<ObjectType, KeysType... npmjs.com
type-fest 4.0.0 breaking changes
- Removed
RemoveIndexSignature
The alias was deprecated long ago and is now gone. Rename uses of RemoveIndexSignature to OmitIndexSignature. npmjs.com - Configuration changed
The package now needs Node.js 16 or later and TypeScript 5.1 or later. Upgrade your toolchain before updating. github.com
And 2 more in this version.
type-fest 3.13.1 breaking changes
- Behavior changed
Jsonify
The tuple handling fix for Jsonify is reverted because it caused problems in TypeScript 4.7 and 4.8, so Jsonify again handles tuples the old way. It will return in the next major release. github.com - Signature changed
Jsonify
Was type Jsonify<T> = IsAny<T> extends true ? any : T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends Number ? number : T extends String ? string : T extends Boolean ? boolean : T extends... npmjs.com
And 5 more in this version.
type-fest 3.13.0 breaking changes
- Signature changed
AbstractClass
Was type AbstractClass<T, Arguments extends unknown[] = any[]> = AbstractConstructor<T, Arguments> & {prototype: T}; now interface AbstractClass<T, Arguments extends unknown[] = any[]> extends AbstractConstructor<T, Arguments>. npmjs.com - Signature changed
Class
Was type Class<T, Arguments extends unknown[] = any[]> = Constructor<T, Arguments> & {prototype: T}; now type Class<T, Arguments extends unknown[] = any[]> = {prototype: T; new(...arguments_: Arguments): T;}. npmjs.com
And 1 more in this version.
type-fest 3.11.1 breaking changes
- Removed
PackageJson.ExportCondition
PackageJson.ExportCondition was removed in type-fest 3.11.1 npmjs.com - Signature changed
PackageJson.ExportConditions
Was type ExportConditions = {[condition in ExportCondition]?: Exports}; now type ExportConditions = {[condition: string]: Exports;}. npmjs.com
And 1 more in this version.
type-fest 3.10.0 breaking changes
- Configuration changed
The package now declares typescript as a peer dependency, so projects using it must have typescript installed alongside it. github.com - Signature changed
OverrideProperties
Was type OverrideProperties<TOriginal, TOverride extends Partial<{[key in keyof TOriginal]: unknown}>> = Merge<TOriginal, TOverride>; now type OverrideProperties<TOriginal, TOverride extends {[Key in keyof TOverride]: Key extends keyof... npmjs.com
And 1 more in this version.
type-fest 3.9.0 breaking changes
- Behavior changed
Join
The Join type supports additional inputs, so results for some existing uses may differ. Review uses of Join if you depend on its exact output. github.com - Signature changed
Join
Was type Join<Strings extends ReadonlyArray<string | number>, Delimiter extends string> = Strings extends [] ? '' : Strings extends readonly [string | number] ? `${Strings[0]}` : Strings extends readonly [string | number, ...infer Rest... npmjs.com
type-fest 3.7.0 breaking changes
- Signature changed
Except
Was type Except<ObjectType, KeysType extends keyof ObjectType> = {[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];}; now type Except<ObjectType, KeysType extends keyof ObjectType, Options extends... npmjs.com - Signature changed
TsConfigJson
Was type TsConfigJson = {compilerOptions?: TsConfigJson.CompilerOptions; watchOptions?: TsConfigJson.WatchOptions; typeAcquisition?: TsConfigJson.TypeAcquisition; compileOnSave?: boolean; extends?: string; files?: string[]; exclude?... npmjs.com
And 3 more in this version.
type-fest 3.6.1 breaking changes
- Signature changed
Join
Was type Join<Strings extends Readonly<Array<string | number>>, Delimiter extends string> = Strings extends [] ? '' : Strings extends [string | number] ? `${Strings[0]}` : Strings extends readonly [string | number, ...infer Rest extends... npmjs.com
type-fest 3.6.0 breaking changes
- Behavior changed
PackageJson
The PackageJson Imports and Exports types were fixed, so code relying on the previous (incorrect) typings may see type errors. github.com - Signature changed
PackageJson.ExportConditions
Was type ExportConditions = {[condition in ExportCondition]: Exports}; now type ExportConditions = {[condition in ExportCondition]?: Exports}. npmjs.com
And 2 more in this version.
type-fest 3.5.7 breaking changes
- Signature changed
TsConfigJson.CompilerOptions.Plugin
Was type Plugin = {[key: string]: unknown; name?: string;}; now type Plugin = {name: string;}. npmjs.com - Signature changed
TsConfigJson.CompilerOptions.Plugin.name
Was name?: string; now name: string. npmjs.com
type-fest 3.5.6 breaking changes
- Signature changed
Simplify
Was type Simplify<T> = {[KeyType in keyof T]: T[KeyType]}; now type Simplify<T> = {[KeyType in keyof T]: T[KeyType]} & {}. npmjs.com
type-fest 3.5.5 breaking changes
- Signature changed
PackageJson.Imports
Was type Imports = {[key: `#${string}`]: string | {[key in ExportCondition]: Exports};}; now type Imports = {[key: `#${string}`]: string | {[key in ExportCondition]?: Exports};}. npmjs.com
type-fest 3.5.4 breaking changes
- Removed
JsonArray.at
JsonArray.at was removed in type-fest 3.5.4 npmjs.com - Removed
JsonArray.concat
JsonArray.concat was removed in type-fest 3.5.4 npmjs.com
And 32 more in this version.
type-fest 3.5.3 breaking changes
- Signature changed
Exact
Was type Exact<ParameterType, InputType> = ParameterType extends unknown[] ? Array<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>> : ParameterType extends readonly unknown[] ? ReadonlyArray<Exact<ArrayElement<ParameterType>... npmjs.com
type-fest 3.5.2 breaking changes
- Behavior changed
Trim
The Trim type now strips all whitespace characters, such as tabs and newlines, not just spaces. Code relying on other whitespace being kept must be checked. github.com
type-fest 3.5.1 breaking changes
- Signature changed
TsConfigJson.CompilerOptions.Target
Was type Target = | 'ES3' | 'ES5' | 'ES6' | 'ES2015' | 'ES2016' | 'ES2017' | 'ES2018' | 'ES2019' | 'ES2020' | 'ES2021' | 'ESNext' | 'es3' | 'es5' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' |... npmjs.com
type-fest 3.5.0 breaking changes
- Removed
PackageJson.YarnConfiguration.workspaces
PackageJson.YarnConfiguration.workspaces was removed in type-fest 3.5.0 npmjs.com - Signature changed
CamelCase
Was type CamelCase<Type, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Type extends string ? Uncapitalize<CamelCaseFromArray<SplitWords<Type extends Uppercase<Type> ? Lowercase<Type> : Type>, Options>> : Type... npmjs.com
And 4 more in this version.
type-fest 3.4.0 breaking changes
- Signature changed
Asyncify
Was type Asyncify<Fn extends (...args: any[]) => any> = SetReturnType<Fn, Promise<Awaited<ReturnType<Fn>>>>; now type Asyncify<Fn extends (...arguments_: any[]) => any> = SetReturnType<Fn, Promise<Awaited<ReturnType<Fn>>>>. npmjs.com - Signature changed
Exact
Was type Exact<ParameterType, InputType> = ParameterType extends unknown[] ? Array<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>> : ParameterType extends readonly unknown[] ? ReadonlyArray<Exact<ArrayElement<ParameterType>... npmjs.com
And 1 more in this version.
type-fest 3.3.0 breaking changes
- Signature changed
Join
Was type Join<Strings extends Array<string | number>, Delimiter extends string> = Strings extends [] ? '' : Strings extends [string | number] ? `${Strings[0]}` : // @ts-expect-error `Rest` is inferred as `unknown` here... npmjs.com - Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable | bigint>] extends [never] ? T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends object ? T extends {toJSON(): infer J} ? (() => J) extends (() =>... npmjs.com
And 1 more in this version.
type-fest 3.2.0 breaking changes
- Behavior changed
PackageJson
The PackageJson type now checks the imports field strictly, so package.json shapes that used to type-check may now be rejected. github.com - Signature changed
CamelCase
Was type CamelCase<K> = K extends string ? CamelCaseStringArray<Split<K extends Uppercase<K> ? Lowercase<K> : K, WordSeparators>> : K; now type CamelCase<Type, Options extends CamelCaseOptions = {preserveConsecutiveUppercase: true}> = Type... npmjs.com
And 5 more in this version.
type-fest 3.1.0 breaking changes
- Signature changed
SetNonNullable
Was type SetNonNullable<BaseType, Keys extends keyof BaseType> = Simplify<Except<BaseType, Keys> & {[Key in Keys]: NonNullable<BaseType[Key]>}>; now type SetNonNullable<BaseType, Keys extends keyof BaseType = keyof BaseType> =... npmjs.com
type-fest 3.0.0 breaking changes
- Removed
Mutable
Replace uses of the Mutable type with Writable. npmjs.com - Removed
ObservableLike.[Symbol.observable]
ObservableLike.[Symbol.observable] was removed in type-fest 3.0.0 npmjs.com
And 37 more in this version.
type-fest 2.19.0 breaking changes
- Signature changed
Exact
Was type Exact<ParameterType, InputType extends ParameterType> = ParameterType extends Primitive ? ParameterType : {[Key in keyof ParameterType]: Exact<ParameterType[Key], InputType[Key]>} & Record<Exclude<keyof InputType... npmjs.com - Signature changed
PackageJson.Exports
Was type Exports = | null | string | string[] | {[key in ExportCondition]: Exports} | {[key: string]: Exports}; now type Exports = | null | string | Array<string | ExportConditions> | ExportConditions | {[path: string]: Exports}. npmjs.com
type-fest 2.18.1 breaking changes
- Behavior changed
Jsonify
Jsonify now keeps tuple types as tuples instead of converting them to arrays, so code relying on the previous array output may see different types. github.com - Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable | bigint>] extends [never] ? T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends Number ? number : T extends String ? string : T extends Boolean ?... npmjs.com
And 1 more in this version.
type-fest 2.17.0 breaking changes
- Signature changed
PartialDeep
Was type PartialDeep<T> = T extends BuiltIns ? T : T extends Map<infer KeyType, infer ValueType> ? PartialMapDeep<KeyType, ValueType> : T extends Set<infer ItemType> ? PartialSetDeep<ItemType> : T extends ReadonlyMap<infer KeyType, infer... npmjs.com
type-fest 2.16.0 breaking changes
- Signature changed
Includes
Was type Includes<Value extends readonly any[], Item> = IsEqual<Value[0], Item> extends true ? true : Value extends [Value[0], ...infer rest] ? Includes<rest, Item> : false; now type Includes<Value extends readonly any[], Item> = Value... npmjs.com - Signature changed
Replace
Was type Replace<Input extends string, Search extends string, Replacement extends string, Options extends ReplaceOptions = {}> = Input extends `${infer Head}${Search}${infer Tail}` ? Options['all'] extends true ?... npmjs.com
And 1 more in this version.
type-fest 2.15.1 breaking changes
- Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable | BigInt>] extends [never] ? T extends PositiveInfinity | NegativeInfinity ? null : T extends JsonPrimitive ? T : T extends Number ? number : T extends String ? string : T extends Boolean ?... npmjs.com
type-fest 2.15.0 breaking changes
- Behavior changed
Jsonify
The Jsonify type was made more correct, so types computed with it may differ from before. Review code that relies on its previous output. github.com - Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable>] extends [never] ? T extends JsonPrimitive ? T : T extends Array<infer U> ? Array<JsonifyArrayMember<U>> : T extends object ? T extends {toJSON(): infer J} ? (() => J) extends (() =>... npmjs.com
type-fest 2.13.1 breaking changes
- Signature changed
TsConfigJson
The paths property of TsConfigJson is now required instead of optional. Code that builds this type without paths will no longer type-check and must add a paths array. github.com - Signature changed
TsConfigJson.CompilerOptions.paths
Was paths?: Partial<Record<string, string[]>>; now paths?: Record<string, string[]>. npmjs.com
type-fest 2.13.0 breaking changes
- Renamed
Mutable
The Mutable type is now called Writable. Mutable still works, but code should switch to Writable. github.com - Signature changed
Mutable
Was type Mutable<BaseType, Keys extends keyof BaseType = keyof BaseType> = Simplify<Except<BaseType, Keys> & {-readonly [KeyType in keyof Pick<BaseType, Keys>]: Pick<BaseType, Keys>[KeyType]}>; now type Mutable<BaseType, Keys extends keyof... npmjs.com
And 13 more in this version.
type-fest 2.12.2 breaking changes
- Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable>] extends [never] ? T extends JsonPrimitive ? T : T extends Array<infer U> ? Array<Jsonify<U>> : T extends object ? T extends {toJSON(): infer J} ? (() => J) extends (() => JsonValue) ? J... npmjs.com
type-fest 2.12.1 breaking changes
- Signature changed
PackageJson.Exports
Was type Exports = | string | string[] | {[key in ExportCondition]: Exports} | {[key: string]: Exports}; now type Exports = | null | string | string[] | {[key in ExportCondition]: Exports} | {[key: string]: Exports}. npmjs.com
type-fest 2.11.2 breaking changes
- Signature changed
PackageJson.ExportCondition
Was type ExportCondition = LiteralUnion<| 'import' | 'require' | 'node' | 'deno' | 'browser' | 'electron' | 'react-native' | 'default', string>; now type ExportCondition = LiteralUnion<| 'import' | 'require' | 'node' | 'node-addons' |... npmjs.com
type-fest 2.11.1 breaking changes
- Signature changed
ReadonlyDeep
Was type ReadonlyDeep<T> = T extends BuiltIns | ((...arguments: any[]) => unknown) ? T : T extends ReadonlyMap<infer KeyType, infer ValueType> ? ReadonlyMapDeep<KeyType, ValueType> : T extends ReadonlySet<infer ItemType> ?... npmjs.com
type-fest 2.11.0 breaking changes
- Signature changed
Get
Was type Get<BaseType, Path extends string | string[], Options extends GetOptions = {}> = GetWithPath<BaseType, Path extends string ? ToPath<Path> : Path, Options>; now type Get<BaseType, Path extends string | readonly string[], Options... npmjs.com
type-fest 2.10.0 breaking changes
- Behavior changed
Types described as "deep" no longer recurse into Date and RegExp values, so code relying on the old recursive transformation of those values may see different types. github.com - Signature changed
DelimiterCasedPropertiesDeep
Was type DelimiterCasedPropertiesDeep<Value, Delimiter extends string> = Value extends Function ? Value : Value extends Array<infer U> ? Array<DelimiterCasedPropertiesDeep<U, Delimiter>> : Value extends Set<infer U> ?... npmjs.com
And 5 more in this version.
type-fest 2.9.0 breaking changes
- Signature changed
Get
Was type Get<BaseType, Path extends string> = GetWithPath<BaseType, ToPath<Path>>; now type Get<BaseType, Path extends string, Options extends GetOptions = {}> = GetWithPath<BaseType, ToPath<Path>, Options>. npmjs.com - Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable>] extends [never] ? T extends JsonPrimitive ? T : T extends Array<infer U> ? Array<Jsonify<U>> : T extends object ? T extends {toJSON(): infer J} ? (() => J) extends (() => JsonValue) ? J... npmjs.com
type-fest 2.6.0 breaking changes
- Signature changed
TsConfigJson.CompilerOptions.Module
Was type Module = | 'CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ESNext' | 'None' | 'commonjs' | 'amd' | 'system' | 'umd' | 'es6' | 'es2015' | 'es2020' | 'esnext' | 'none'; now type Module = | 'CommonJS' | 'AMD' |... npmjs.com
type-fest 2.5.3 breaking changes
- Signature changed
Join
Was type Join<Strings extends Array<string | number>, Delimiter extends string> = Strings extends [] ? '' : Strings extends [string | number] ? `${Strings[0]}` : // @ts-expect-error `Rest` is inferred as `unknown` here... npmjs.com
type-fest 2.5.2 breaking changes
- Signature changed
DelimiterCase
Was type DelimiterCase<Value, Delimiter extends string> = Value extends string ? StringArrayToDelimiterCase<SplitIncludingDelimiters<Value, WordSeparators | UpperCaseCharacters>, WordSeparators, UpperCaseCharacters, Delimiter> : Value; now... npmjs.com
type-fest 2.5.1 breaking changes
- Signature changed
PartialDeep
Was type PartialDeep<T> = T extends Primitive ? Partial<T> : T extends Map<infer KeyType, infer ValueType> ? PartialMapDeep<KeyType, ValueType> : T extends Set<infer ItemType> ? PartialSetDeep<ItemType> : T extends ReadonlyMap<infer... npmjs.com
type-fest 2.4.0 breaking changes
- Signature changed
ObservableLike.subscribe
Was subscribe(observer: (value: ValueType) => void): void; now subscribe(observer?: Partial<Observer<ValueType>>): Unsubscribable. npmjs.com
type-fest 2.3.4 breaking changes
- Signature changed
Except
Was type Except<ObjectType, KeysType> = {[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];}; now type Except<ObjectType, KeysType extends keyof ObjectType> = {[KeyType in keyof ObjectType as Filter<KeyType... npmjs.com
type-fest 2.3.3 breaking changes
- Signature changed
LastArrayElement
Was type LastArrayElement<ValueType extends readonly unknown[]> = ValueType extends [infer ElementType] ? ElementType : ValueType extends [infer _, ...infer Tail] ? LastArrayElement<Tail> : never; now type LastArrayElement<ValueType... npmjs.com
type-fest 2.3.2 breaking changes
- Signature changed
Except
Was type Except<ObjectType, KeysType extends keyof ObjectType> = Pick<ObjectType, Exclude<keyof ObjectType, KeysType>>; now type Except<ObjectType, KeysType> = {[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]... npmjs.com - Signature changed
PromiseValue
Was type PromiseValue<PromiseType, Otherwise = PromiseType> = PromiseType extends Promise<infer Value> ? {0: PromiseValue<Value>; 1: Value}[PromiseType extends Promise<unknown> ? 0 : 1] : Otherwise; now type PromiseValue<PromiseType> =... npmjs.com
type-fest 2.3.0 breaking changes
- Signature changed
Join
Was type Join<Strings extends string[], Delimiter extends string> = Strings extends [] ? '' : Strings extends [string] ? `${Strings[0]}` : // @ts-expect-error `Rest` is inferred as `unknown` here... npmjs.com - Signature changed
Jsonify
Was type Jsonify<T> = [Extract<T, NotJsonable>] extends [never] ? T extends JsonPrimitive ? T : T extends Array<infer U> ? Array<Jsonify<U>> : T extends object ? {[P in keyof T]: Jsonify<T[P]>} : never : never; now type Jsonify<T> =... npmjs.com
type-fest 2.2.0 breaking changes
- Signature changed
CamelCase
Was type CamelCase<K> = K extends string ? K extends Uppercase<K> ? CamelCaseStringArray<Split<Lowercase<K>, WordSeparators>> : CamelCaseStringArray<Split<K, WordSeparators>> : K; now type CamelCase<K> = K extends string ?... npmjs.com
type-fest 2.1.0 breaking changes
- Signature changed
Entries
Was type Entries<BaseType> = BaseType extends Map<unknown, unknown> ? MapEntries<BaseType> : BaseType extends Set<unknown> ? SetEntries<BaseType> : BaseType extends unknown[] ? ArrayEntries<BaseType> : BaseType extends object ?... npmjs.com - Signature changed
Entry
Was type Entry<BaseType> = BaseType extends Map<unknown, unknown> ? MapEntry<BaseType> : BaseType extends Set<unknown> ? SetEntry<BaseType> : BaseType extends unknown[] ? ArrayEntry<BaseType> : BaseType extends object ?... npmjs.com
And 5 more in this version.
type-fest 2.0.0 breaking changes
- Removed
JsonArray.[Symbol.iterator]
JsonArray.[Symbol.iterator] was removed in type-fest 2.0.0 npmjs.com - Removed
JsonArray.[Symbol.unscopables]
JsonArray.[Symbol.unscopables] was removed in type-fest 2.0.0 npmjs.com
And 15 more in this version.
type-fest 1.4.0 breaking changes
- Signature changed
TsConfigJson.CompilerOptions.JSX
Was type JSX = | 'preserve' | 'react' | 'react-native'; now type JSX = | 'preserve' | 'react' | 'react-jsx' | 'react-jsxdev' | 'react-native'. npmjs.com - Signature changed
TsConfigJson.CompilerOptions.Lib
Was type Lib = | 'ES5' | 'ES6' | 'ES7' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' |... npmjs.com
And 2 more in this version.
type-fest 1.2.3 breaking changes
- Signature changed
CamelCase
Was type CamelCase<K> = K extends string ? K extends Uppercase<K> ? Lowercase<K> : CamelCaseStringArray<Split<K, WordSeparators>> : K; now type CamelCase<K> = K extends string ? K extends Uppercase<K> ?... npmjs.com
type-fest 1.2.2 breaking changes
- Signature changed
Split
Was type Split<S extends string, D extends string> = S extends `${infer T}${D}${infer U}` ? [T, ...Split<U, D>] : [S]; now type Split<S extends string, Delimiter extends string> = S extends `${infer Head}${Delimiter}${infer Tail}` ? [Head... npmjs.com
type-fest 1.2.1 breaking changes
- Signature changed
CamelCase
Was type CamelCase<K> = K extends string ? CamelCaseStringArray<Split<K, WordSeparators>> : K; now type CamelCase<K> = K extends string ? K extends Uppercase<K> ? Lowercase<K> : CamelCaseStringArray<Split<K, WordSeparators>> : K. npmjs.com
type-fest 1.1.2 breaking changes
- Signature changed
PackageJson.Exports
Was type Exports = | string | {[key in ExportCondition]: Exports} | {[key: string]: Exports}; now type Exports = | string | string[] | {[key in ExportCondition]: Exports} | {[key: string]: Exports}. npmjs.com
type-fest 1.1.0 breaking changes
- Signature changed
PackageJson.PackageJsonStandard.publishConfig
Was publishConfig?: Record<string, unknown>; now publishConfig?: PublishConfig. npmjs.com - Signature changed
PackageJson.publishConfig
Was publishConfig?: Record<string, unknown>; now publishConfig?: PublishConfig. npmjs.com
type-fest 0.21.3 breaking changes
- Removed
JsonArray.[Symbol.unscopables].findLast
JsonArray.[Symbol.unscopables].findLast was removed in type-fest 0.21.3 npmjs.com - Removed
JsonArray.[Symbol.unscopables].findLastIndex
JsonArray.[Symbol.unscopables].findLastIndex was removed in type-fest 0.21.3 npmjs.com
And 10 more in this version.
type-fest 0.21.0 breaking changes
- Removed
TypedArray
TypedArray was removed in type-fest 0.21.0 npmjs.com - Signature changed
Merge
Was type Merge<FirstType, SecondType> = Except<FirstType, Extract<keyof FirstType, keyof SecondType>> & SecondType; now type Merge<FirstType, SecondType> = Simplify<Merge_<FirstType, SecondType>>. npmjs.com
And 3 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.