Skip to main content

Rule coverage gap analysis

Which upstream exports have a lint rule, and when is a migration unsafe? The tables below account for all 427 public names across the pinned packages and entry points. Each covered row links to the rule's supported patterns. Migration identifies a deprecated source name that a rule replaces. Excluded gives the reason a direct preference rule would be unsound or add little value.

The inventory uses the published declarations, including star re-exports. It counts a name separately in each public module and distinguishes the objectKeys function from the ObjectKeys type. Internal upstream helpers and ambient declarations do not add root exports. type-fest 6.0.3 Β· ts-extras 3.0.0

A covered export guarantees only the matcher described on its rule page. For example, the merge rule recognizes a particular intersection, while the tuple and key rules check specific operands and modifiers. Imported helpers in the wrong scope and structurally similar types with different fallback behavior require separate treatment. Rules introduced for the newer APIs check the package version resolved from the consumer file. They support type-fest 6 and ts-extras 2 or 3.

Runtime exports from ts-extras​

The 45 runtime helpers include 33 present in v1.0. Later v1 releases added objectAssign, objectUpdate, and assert. Version 2 added nine more helpers, and version 3 retains all 45. The two filter-specific rules are listed with the same helpers they refine. Historical catalog slots for arrayFind, arrayFindLast, and arrayFindLastIndex are reserved IDs. No corresponding functions exist in this release.

ExportDecisionRule or reason
arrayAtCoveredprefer-ts-extras-array-at
arrayConcatCoveredprefer-ts-extras-array-concat
arrayFirstCoveredprefer-ts-extras-array-first
arrayIncludesCoveredprefer-ts-extras-array-includes
arrayIndexOfCoveredprefer-ts-extras-array-index-of
arrayIsArrayCoveredprefer-ts-extras-array-is-array
arrayJoinCoveredprefer-ts-extras-array-join
arrayLastCoveredprefer-ts-extras-array-last
arrayLastIndexOfCoveredprefer-ts-extras-array-last-index-of
assertCoveredprefer-ts-extras-assert
assertDefinedCoveredprefer-ts-extras-assert-defined
assertErrorCoveredprefer-ts-extras-assert-error
assertNeverCoveredprefer-ts-extras-assert-never
assertPresentCoveredprefer-ts-extras-assert-present
asWritableCoveredprefer-ts-extras-as-writable
hasAtLeastCoveredprefer-ts-extras-has-at-least
isDefinedCoveredprefer-ts-extras-is-defined and prefer-ts-extras-is-defined-filter
isEmptyCoveredprefer-ts-extras-is-empty
isEqualTypeCoveredprefer-ts-extras-is-equal-type
isFiniteCoveredprefer-ts-extras-is-finite
isInfiniteCoveredprefer-ts-extras-is-infinite
isIntegerCoveredprefer-ts-extras-is-integer
isNonEmptyCoveredprefer-ts-extras-is-non-empty
isPresentCoveredprefer-ts-extras-is-present and prefer-ts-extras-is-present-filter
isPropertyDefinedCoveredprefer-ts-extras-is-property-defined
isPropertyPresentCoveredprefer-ts-extras-is-property-present
isSafeIntegerCoveredprefer-ts-extras-is-safe-integer
isTruthyCoveredprefer-ts-extras-is-truthy
keyInCoveredprefer-ts-extras-key-in
mapHasCoveredprefer-ts-extras-map-has
notCoveredprefer-ts-extras-not
objectAssignCoveredprefer-ts-extras-object-assign
objectEntriesCoveredprefer-ts-extras-object-entries
objectFromEntriesCoveredprefer-ts-extras-object-from-entries
objectHasInCoveredprefer-ts-extras-object-has-in
objectHasOwnCoveredprefer-ts-extras-object-has-own
objectKeysCoveredprefer-ts-extras-object-keys
objectMapValuesCoveredprefer-ts-extras-object-map-values
objectUpdateExcludedAccepts type-checked partial updates to writable keys, copies enumerable own source properties and skips an own __proto__. Native assignment allows other keys and can invoke the inherited __proto__ setter.
objectValuesCoveredprefer-ts-extras-object-values
safeCastToCoveredprefer-ts-extras-safe-cast-to
setHasCoveredprefer-ts-extras-set-has
stringEndsWithCoveredprefer-ts-extras-string-ends-with
stringSplitCoveredprefer-ts-extras-string-split
stringStartsWithCoveredprefer-ts-extras-string-starts-with

Type exports from ts-extras​

ExportDecisionRule or reason
ObjectKeysExcludedDistributes over object unions, stringifies numeric keys, and selects element keys for arrays, tuples, typed arrays, and buffers. A plain keyof includes different keys.

Root type exports from type-fest​

The root entry point exports 378 types. Options interfaces have property names that also occur on unrelated objects, so the presence of those properties cannot identify the helper being configured.

ExportDecisionRule or reason
AbsoluteCoveredprefer-type-fest-absolute
AbstractClassExcludedA construct signature alone omits the required prototype relationship. Adding that requirement would reject constructors accepted by the original type.
AbstractConstructorCoveredprefer-type-fest-abstract-constructor
AllExtendExcludedChecking a union of tuple members is different from checking every element or any element, particularly for empty tuples and never.
AllExtendOptionsExcludedThis is the options contract for an upstream operation. A local object with strictNever can configure unrelated code.
AllUnionFieldsExcludedMapping over a union changes how common, optional, and member-specific properties are collected. Keys alone do not identify the intended value types.
AlphanumericExcludedA hand-written alphabet can intentionally select a subset of ASCII. Matching an alias name cannot establish the exact character set.
AndCoveredprefer-type-fest-and
AndAllCoveredprefer-type-fest-and-all
AnyAsyncFunctionCoveredprefer-type-fest-function
AnyFunctionCoveredprefer-type-fest-function
ApplyDefaultOptionsExcludedA plain intersection of defaults and overrides loses the distinction between optional keys, explicit undefined values, and required options.
ArrayableCoveredprefer-type-fest-arrayable
ArrayAtExcludedIndexed access does not model out-of-range indices, negative offsets, and possibly empty arrays in the same way.
ArrayChunkExcludedRecursive tuple algorithms differ in whether open arrays, optional elements, unequal lengths, and readonly inputs widen the result.
ArrayElementCoveredprefer-type-fest-array-element
ArrayFlatExcludedA tuple spread alone does not encode the requested flattening depth or the behavior of open arrays.
ArrayGroupByExcludedMapping an array element union by a property does not guarantee the same key aliases, duplicate-key behavior, or tuple information.
ArrayIndicesExcludedTuple string keys, numeric indices, and open array index domains differ. A plain Exclude over keyof a tuple can produce string keys.
ArrayLengthCoveredprefer-type-fest-array-length
ArrayReverseExcludedTuple recursion has distinct results for optional items, readonly inputs, open arrays, and variadic tails.
ArraySliceExcludedTuple recursion has distinct results for optional items, readonly inputs, open arrays, and variadic tails.
ArraySpliceExcludedTuple recursion has distinct results for optional items, readonly inputs, open arrays, and variadic tails.
ArrayTailExcludedA tuple-rest conditional must agree on empty tuples, optional tails, readonly results, and open arrays.
ArrayToRecordExcludedMapping an array element union by a property does not guarantee the same key aliases, duplicate-key behavior, or tuple information.
ArrayTrimExcludedTuple trimming needs an explicit match policy and separate rules for optional elements, rest elements, and open arrays.
ArrayTrimEndExcludedTuple trimming needs an explicit match policy and separate rules for optional elements, rest elements, and open arrays.
ArrayTrimOptionsExcludedThis is the options contract for an upstream operation. A local object with condition can configure unrelated code.
ArrayTrimStartExcludedTuple trimming needs an explicit match policy and separate rules for optional elements, rest elements, and open arrays.
ArrayUniqueExcludedRecursive tuple algorithms differ in whether open arrays, optional elements, unequal lengths, and readonly inputs widen the result.
ArrayValuesCoveredprefer-type-fest-array-values
ArrayZipExcludedRecursive tuple algorithms differ in whether open arrays, optional elements, unequal lengths, and readonly inputs widen the result.
AsciiPunctuationCharacterExcludedCharacter tables encode the chosen alphabet. A project's punctuation or whitespace set can intentionally differ.
AsExtendableExcludedThis identity helper makes a structural type usable in a heritage clause. An arbitrary identity alias carries no such intent.
AsyncFunctionCoveredprefer-type-fest-function
AsyncifyCoveredprefer-type-fest-asyncify
AsyncReturnTypeCoveredprefer-type-fest-async-return-type
CamelCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
CamelCasedPropertiesExcludedRemapping property names also needs a policy for word boundaries and non-string keys.
CamelCasedPropertiesDeepExcludedDeep key renaming must define where to stop recursion, how arrays are treated, and which property names change.
CamelCaseOptionsExcludedThis is the options contract for an upstream operation. A local object with splitOnNumbers, splitOnPunctuation, preserveConsecutiveUppercase can configure unrelated code.
CamelCaseStringExcludedRecognizing an already-cased string and converting a string to that case have different contracts. A local template literal does not identify which operation is intended.
ClassExcludedA construct signature alone omits the required prototype relationship. Adding that requirement would reject constructors accepted by the original type.
CollapseLiteralsExcludedLiteral collapsing and extraction depend on distribution over the union and on how a widened primitive absorbs its literals.
ConditionalExceptCoveredprefer-type-fest-conditional-except
ConditionalKeysCoveredprefer-type-fest-conditional-keys
ConditionalKeysOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
ConditionalPickCoveredprefer-type-fest-conditional-pick
ConditionalPickDeepCoveredprefer-type-fest-conditional-pick-deep
ConditionalPickDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with condition can configure unrelated code.
ConditionalSimplifyExcludedExpansion for editor display can affect assignability and inference. An anonymous mapped type does not specify which types should be preserved.
ConditionalSimplifyDeepExcludedExpansion for editor display can affect assignability and inference. An anonymous mapped type does not specify which types should be preserved.
ConsistsOnlyOfExcludedTemplate-literal recursions differ on empty strings, widened strings, and mixtures of literal and nonliteral characters.
ConstructorCoveredprefer-type-fest-constructor
CurryExcludedLocal function transformations choose their own handling of optional arguments, rest parameters, overloads, and inference.
DefaultsForExcludedA plain intersection of defaults and overrides loses the distinction between optional keys, explicit undefined values, and required options.
DelimiterCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
DelimiterCasedPropertiesExcludedRemapping property names also needs a policy for word boundaries and non-string keys.
DelimiterCasedPropertiesDeepExcludedDeep key renaming must define where to stop recursion, how arrays are treated, and which property names change.
DigitCharacterExcludedA hand-written alphabet can intentionally select a subset of ASCII. Matching an alias name cannot establish the exact character set.
DistributedOmitCoveredprefer-type-fest-distributed-omit
DistributedPickCoveredprefer-type-fest-distributed-pick
EmptyArrayCoveredprefer-type-fest-empty-array. Matches the dedicated local alias for a readonly empty tuple.
EmptyObjectExcludedThe upstream unique-symbol brand has different assignability from Record<string, never>, an index signature, or the native empty object type.
EntriesCoveredprefer-type-fest-entries
EntryCoveredprefer-type-fest-entry
ExactExcludedExcess property checking at an assignment is contextual. A local completeness check can admit objects that the upstream constraint rejects.
ExceptCoveredprefer-type-fest-except
ExceptOptionsExcludedThis is the options contract for an upstream operation. A local object with requireExactProps can configure unrelated code.
ExcludeExactlyExcludedA built-in Extract or Exclude can accept values the strict or exact variant rejects. Selecting that stronger contract requires caller intent.
ExcludeRestElementExcludedA variadic tuple can have fixed elements on both sides of its rest. A simple infer Rest does not describe which components to keep.
ExcludeStrictExcludedA built-in Extract or Exclude can accept values the strict or exact variant rejects. Selecting that stronger contract requires caller intent.
ExcludeValuesExcludedFiltering value unions and removing keys of type never are distinct decisions. A conditional over an indexed access can distribute differently.
ExclusifyUnionExcludedAdding optional never properties is a deliberate restriction on assignments between union members. An ordinary union expresses no such restriction.
ExtendsStrictExcludedDistribution over a union and the treatment of any and never depend on options. An ordinary extends conditional carries no such policy.
ExtendsStrictOptionsExcludedThis is the options contract for an upstream operation. A local object with distributiveUnions, strictNever, strictAny can configure unrelated code.
ExtractExactlyExcludedA built-in Extract or Exclude can accept values the strict or exact variant rejects. Selecting that stronger contract requires caller intent.
ExtractLiteralsExcludedLiteral collapsing and extraction depend on distribution over the union and on how a widened primitive absorbs its literals.
ExtractRestElementCoveredprefer-type-fest-extract-rest-element
ExtractStrictExcludedA built-in Extract or Exclude can accept values the strict or exact variant rejects. Selecting that stronger contract requires caller intent.
ExtractValuesExcludedFiltering value unions and removing keys of type never are distinct decisions. A conditional over an indexed access can distribute differently.
FalsyCoveredprefer-type-fest-falsy
FindGlobalInstanceTypeExcludedWhich globals exist depends on the selected DOM, Node, or other ambient libraries. A similarly named local declaration cannot establish that binding.
FindGlobalTypeExcludedWhich globals exist depends on the selected DOM, Node, or other ambient libraries. A similarly named local declaration cannot establish that binding.
FiniteExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
FirstArrayElementExcludedFor an array with no guaranteed first element the helper includes undefined. Indexed access at zero alone does not encode that possibility.
FixedLengthArrayExcludedRemoving array methods that change length and preserving indexed members expresses a stronger contract than annotating length alone.
FlavorExcludedTag names, metadata, and brand visibility depend on the originating brand. A structural field or plain intersection cannot establish that contract.
FloatExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
FromEntriesExcludedA mapped key–value union does not by itself model entry order, duplicate keys, or the fallback for arrays of unknown entries.
FunctionParametersExcludedInference from an overloaded or generic signature can select its last overload. A local Parameters or ReturnType wrapper does not establish equivalent overload handling.
GetExcludedProperty paths differ in bracket notation, index signatures, recursion depth, optional properties, and missing-key fallbacks.
GetOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
GetTagMetadataExcludedReading a property does not prove that it is metadata for the specific upstream tag and its unique-symbol brand.
GlobalThisExcludedThe native typeof globalThis is explicit. Replacing it solely for its spelling adds an import to a standard platform type.
GreaterThanExcludedTuple arithmetic over positive integer literals does not cover negative numbers, infinities, or generic widened inputs.
GreaterThanOrEqualExcludedTuple arithmetic over positive integer literals does not cover negative numbers, infinities, or generic widened inputs.
GuardedTypeCoveredprefer-type-fest-guarded-type. Matches the exact conditional that infers the guarded type of a predicate.
HasMultipleCallSignaturesExcludedInference from an overloaded or generic signature can select its last overload. A local Parameters or ReturnType wrapper does not establish equivalent overload handling.
HasOptionalKeysCoveredprefer-type-fest-has-optional-keys
HasReadonlyKeysCoveredprefer-type-fest-has-readonly-keys
HasRequiredKeysCoveredprefer-type-fest-has-required-keys
HasWritableKeysCoveredprefer-type-fest-has-writable-keys
IfCoveredprefer-type-fest-if
IncludesExcludedElement extends Tuple[number] tests assignability to a union. Tuple membership can depend on the comparison and distribution settings.
IncludesOptionsExcludedThis is the options contract for an upstream operation. A local object with distributeItem can configure unrelated code.
IncompatibleKeysExcludedNumeric and string key aliases, index signatures, and union members affect key matching. A plain keyof intersection misses these cases.
IndexOfExcludedSearching an uncertain array or matching a widened member has different outcomes from an exact finite tuple search.
IndexOfOptionsExcludedThis is the options contract for an upstream operation. A local object with distributeItem can configure unrelated code.
IndexTupleExcludedMapping keyof a tuple also sees stringified indices and array members. It does not alone describe the intended numeric index tuple.
IntClosedRangeExcludedRange boundaries, step size, and handling invalid numeric arguments affect the resulting union.
IntegerExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
IntRangeExcludedRange boundaries, step size, and handling invalid numeric arguments affect the resulting union.
InvariantOfExcludedA private brand and the variance of its type parameter determine assignability. Different brands are deliberately incompatible.
InvertRecordExcludedA reversed mapped type needs a policy for repeated values, key aliases, and values that cannot be property keys.
IsAnyCoveredprefer-type-fest-is-any
IsBooleanLiteralExcludedDistributive conditionals over a literal union can disagree for widened primitives, any, never, and branded values.
IsEmptyObjectExcludedIt depends on TypeFest's branded EmptyObject. common T extends {} or keyof T extends never checks are not equivalent.
IsEqualExcludedMutual assignability alone fails to distinguish some readonly and overlapping types, while ad hoc equality predicates differ on any, never, intersections and overloads.
IsFloatExcludedA string-pattern test for numeric sign or decimal syntax must also agree for infinities, widened numbers, and generic arguments.
IsIntegerExcludedA string-pattern test for numeric sign or decimal syntax must also agree for infinities, widened numbers, and generic arguments.
IsLiteralExcludedDistributive conditionals over a literal union can disagree for widened primitives, any, never, and branded values.
IsLowercaseExcludedPartially known template literals require an uncertain boolean result. A direct comparison with a case-converted string can give a definite result.
IsMutuallyAssignableCoveredprefer-type-fest-is-mutually-assignable
IsNegativeExcludedA string-pattern test for numeric sign or decimal syntax must also agree for infinities, widened numbers, and generic arguments.
IsNeverCoveredprefer-type-fest-is-never
IsNullCoveredprefer-type-fest-is-null
IsNullableCoveredprefer-type-fest-is-nullable
IsNumberLikeExcludedNumeric-string predicates differ about whitespace, signs, formats, branded strings, and the fallback for widened input.
IsNumericLiteralExcludedA test that works for ordinary literals can differ for never, any, branded types, and partially known template literals.
IsNumericStringExcludedNumeric-string predicates differ about whitespace, signs, formats, branded strings, and the fallback for widened input.
IsOptionalExcludedPlain undefined-in-type tests differ for any, never, and unions. checking whether an object property may be omitted is a separate operation.
IsOptionalKeyOfExcludedKey modifiers and their distribution over unions need explicit handling for any and missing keys. The higher-level key collection rules cover their own narrower compositions.
IsPrimitiveExcludedA naked extends check distributes across unions and has special behavior for any and never. Those choices determine this predicate's result.
IsReadonlyArrayExcludedA readonly array constraint also accepts mutable arrays. The upstream predicate distinguishes mutable arrays and returns false for never.
IsReadonlyKeyOfExcludedKey modifiers and their distribution over unions need explicit handling for any and missing keys. The higher-level key collection rules cover their own narrower compositions.
IsRecordLikeExcludedAn object constraint alone includes functions and arrays. The most useful match depends on the precise upstream record predicate.
IsRequiredKeyOfExcludedKey modifiers and their distribution over unions need explicit handling for any and missing keys. The higher-level key collection rules cover their own narrower compositions.
IsStringLiteralExcludedA test that works for ordinary literals can differ for never, any, branded types, and partially known template literals.
IsSymbolLiteralExcludedDistributive conditionals over a literal union can disagree for widened primitives, any, never, and branded values.
IsTemplateLiteralExcludedA template literal with a widened placeholder has different semantics from a finite string literal union or an unconstrained string.
IsTupleCoveredprefer-type-fest-is-tuple
IsTupleOptionsExcludedThis is the options contract for an upstream operation. A local object with fixedLengthOnly can configure unrelated code.
IsUndefinedCoveredprefer-type-fest-is-undefined
IsUnionExcludedA test that works for ordinary literals can differ for never, any, branded types, and partially known template literals.
IsUnionMemberExcludedThe contract tests whether the input is a whole union member. Assignability can accept a narrower type than any member.
IsUnknownCoveredprefer-type-fest-is-unknown
IsUppercaseExcludedPartially known template literals require an uncertain boolean result. A direct comparison with a case-converted string can give a definite result.
IsWhitespaceExcludedTemplate-literal recursions differ on empty strings, widened strings, and mixtures of literal and nonliteral characters.
IsWritableKeyOfExcludedKey modifiers and their distribution over unions need explicit handling for any and missing keys. The higher-level key collection rules cover their own narrower compositions.
IterableElementCoveredprefer-type-fest-iterable-element
JoinExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
JoinUnionExcludedUnion member order is a compiler detail. A local helper can require different ordering or preserve different literal information.
JsonArrayCoveredprefer-type-fest-json-array
JsonifiableExcludedProjects vary in how a JSON boundary treats undefined, toJSON methods, dates, arrays, and non-serializable fields.
JsonifiableArrayExcludedA local serialization schema may allow different toJSON methods, undefined values, or array members. Structural resemblance does not identify its wire contract.
JsonifiableObjectExcludedA local serialization schema may allow different toJSON methods, undefined values, or array members. Structural resemblance does not identify its wire contract.
JsonifiableValueExcludedA local serialization schema may allow different toJSON methods, undefined values, or array members. Structural resemblance does not identify its wire contract.
JsonifyExcludedProjects vary in how a JSON boundary treats undefined, toJSON methods, dates, arrays, and non-serializable fields.
JsonObjectCoveredprefer-type-fest-json-object
JsonPointerExcludedPath grammars differ in escaping, separators, accepted indices, and fallback behavior. Similar string patterns do not establish the same grammar.
JsonPointerOptionsExcludedThis is the options contract for an upstream operation. A local object with maxRecursionDepth can configure unrelated code.
JsonPrimitiveCoveredprefer-type-fest-json-primitive
JsonValueCoveredprefer-type-fest-json-value
KebabCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
KebabCasedPropertiesExcludedRemapping property names also needs a policy for word boundaries and non-string keys.
KebabCasedPropertiesDeepExcludedDeep key renaming must define where to stop recursion, how arrays are treated, and which property names change.
KebabCaseStringExcludedRecognizing an already-cased string and converting a string to that case have different contracts. A local template literal does not identify which operation is intended.
KeyAsStringExcludedNumeric keys, symbols, and template-literal index signatures have different string conversions. Extracting only string keys loses numeric keys.
KeysOfUnionCoveredprefer-type-fest-keys-of-union
LastArrayElementExcludedA last-element tuple inference needs explicit behavior for empty, optional, readonly, and open rest tails.
LessThanCoveredprefer-type-fest-less-than
LessThanOrEqualCoveredprefer-type-fest-less-than-or-equal
LiteralListExcludedValidating that a tuple contains every literal in a union exactly once also requires checking duplicates, missing and extra members. A literal tuple alone guarantees none of these.
LiteralToPrimitiveExcludedA widening conditional can intentionally preserve branded primitives, handle symbols differently, or keep literal members of a union.
LiteralToPrimitiveDeepExcludedA recursive mapped type needs explicit stopping conditions for arrays, tuples, built-ins, and readonly properties to preserve the transformation.
LiteralUnionCoveredprefer-type-fest-literal-union
LowercaseLetterExcludedA hand-written alphabet can intentionally select a subset of ASCII. Matching an alias name cannot establish the exact character set.
MapKeyExcludedUpstream handles readonly maps, weak maps, and any explicitly. An infer from mutable Map alone misses these cases.
MapValueExcludedUpstream handles readonly maps, weak maps, and any explicitly. An infer from mutable Map alone misses these cases.
MatchingKeyExcludedNumeric and string key aliases, index signatures, and union members affect key matching. A plain keyof intersection misses these cases.
MergeCoveredprefer-type-fest-merge
MergeAllExcludedAn intersection of a tuple's elements loses precedence when later members replace earlier keys.
MergeDeepExcludedDeep merges choose precedence and distinct policies for tuple elements, open arrays, and nested object keys.
MergeDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with arrayMergeMode, recurseIntoArrays can configure unrelated code.
MergeExclusiveCoveredprefer-type-fest-merge-exclusive
MinimumLengthArrayCoveredprefer-type-fest-minimum-length-array
ModifyExcludedReplacing a property is distinct from intersecting its old and new types. Recursion through indexed objects and arrays introduces additional policy choices.
ModifyDeepExcludedReplacing a property is distinct from intersecting its old and new types. Recursion through indexed objects and arrays introduces additional policy choices.
MultidimensionalArrayExcludedRecursive array types choose the allowed leaf type, dimensions, and mutability. Nested array syntax permits several such interpretations.
MultidimensionalReadonlyArrayExcludedRecursive array types choose the allowed leaf type, dimensions, and mutability. Nested array syntax permits several such interpretations.
NegateExcludedNumeric calculations must handle widened numbers, unions, infinities, and branded inputs. Recursion over a finite literal tuple covers only part of that domain.
NegativeExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
NegativeFloatExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
NegativeInfinityExcludedUsing an extreme numeric literal in a public type can carry domain-specific range intent. A runtime Infinity value does not give a distinct literal type.
NegativeIntegerExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
NonEmptyObjectExcludedHaving known keys in a type does not guarantee that any optional key must be present on a particular value.
NonEmptyStringExcludedUpstream rejects any type that can include the empty string, including widened string. Excluding the empty literal from string still yields string.
NonEmptyTupleCoveredprefer-type-fest-non-empty-tuple
NonNegativeExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
NonNegativeIntegerExcludedNumeric filters differ for widened numbers, numeric enums, branded values, and literal unions. A generic numeric alias cannot establish those policies.
NonNegativeIntegerStringExcludedNumeric-string predicates differ about whitespace, signs, formats, branded strings, and the fallback for widened input.
NonNullableDeepCoveredprefer-type-fest-non-nullable-deep
NonNullableDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with keep can configure unrelated code.
NotCoveredprefer-type-fest-not
ObjectEntriesExcludedA union of keyof/value tuples can lose key–value correlation, member-specific keys, or the distinction between optional values and absent properties.
ObjectEntryExcludedA union of keyof/value tuples can lose key–value correlation, member-specific keys, or the distinction between optional values and absent properties.
ObjectMergeExcludedHandling index signatures separately from explicit keys makes the upstream object merge differ from an intersection.
ObjectToTupleExcludedUnion member order is a compiler detail. A local helper can require different ordering or preserve different literal information.
ObjectToUnionExcludedA plain union of one-property Pick types handles arrays, index signatures, and unions differently from the upstream object-only transformation.
OmitDeepExcludedProperty paths differ in bracket notation, index signatures, recursion depth, optional properties, and missing-key fallbacks.
OmitIndexSignatureCoveredprefer-type-fest-omit-index-signature
OpaqueMigrationprefer-type-fest-tagged-brands recognizes this deprecated source spelling.
OptionalCoveredprefer-type-fest-optional
OptionalKeysOfCoveredprefer-type-fest-optional-keys-of
OptionalPathsExcludedPath grammars differ in escaping, separators, accepted indices, and fallback behavior. Similar string patterns do not establish the same grammar.
OptionalPathsOptionsExcludedThis is the options contract for an upstream operation. A local object with maxRecursionDepth can configure unrelated code.
OrCoveredprefer-type-fest-or
OrAllCoveredprefer-type-fest-or-all
OverloadParametersCoveredprefer-type-fest-overload-parameters. Matches the supported local declaration that uses the imported Overloads helper.
OverloadReturnTypeCoveredprefer-type-fest-overload-return-type. Matches the supported local declaration that uses the imported Overloads helper.
OverloadsExcludedInference from an overloaded or generic signature can select its last overload. A local Parameters or ReturnType wrapper does not establish equivalent overload handling.
OverridePropertiesExcludedA constrained override restricts the allowed keys of the source. A Merge-shaped intersection alone does not prove that the caller wanted this extra restriction.
OverridePropertiesDeepExcludedReplacing a property is distinct from intersecting its old and new types. Recursion through indexed objects and arrays introduces additional policy choices.
PackageJsonExcludedA project file schema may intentionally accept private extensions or reject upstream fields. Its name cannot establish schema compatibility.
ParsePathExcludedPath grammars differ in escaping, separators, accepted indices, and fallback behavior. Similar string patterns do not establish the same grammar.
PartialApplyExcludedA partial application or function pipeline carries argument positions, inference, and return-type flow. A list of function types alone does not specify those relationships.
PartialDeepCoveredprefer-type-fest-partial-deep
PartialDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with recurseIntoArrays, allowUndefinedInNonTupleArrays, keep can configure unrelated code.
PartialOnUndefinedExcludedThe optional modifier and an explicit undefined union carry different information under exactOptionalPropertyTypes. A shallow Partial or Required cannot recover that distinction.
PartialOnUndefinedDeepExcludedA recursive mapped type needs explicit stopping conditions for arrays, tuples, built-ins, and readonly properties to preserve the transformation.
PartialOnUndefinedDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with recurseIntoArrays can configure unrelated code.
PascalCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
PascalCasedPropertiesExcludedRemapping property names also needs a policy for word boundaries and non-string keys.
PascalCasedPropertiesDeepExcludedDeep key renaming must define where to stop recursion, how arrays are treated, and which property names change.
PascalCaseStringExcludedRecognizing an already-cased string and converting a string to that case have different contracts. A local template literal does not identify which operation is intended.
PathsExcludedProperty paths differ in bracket notation, index signatures, recursion depth, optional properties, and missing-key fallbacks.
PathsOptionsExcludedThis is the options contract for an upstream operation. A local object with maxRecursionDepth, maxCircularDepth, bracketNotation can configure unrelated code.
PickDeepExcludedProperty paths differ in bracket notation, index signatures, recursion depth, optional properties, and missing-key fallbacks.
PickIndexSignatureCoveredprefer-type-fest-pick-index-signature
PickNonNeverExcludedFiltering value unions and removing keys of type never are distinct decisions. A conditional over an indexed access can distribute differently.
PickReadonlyExcludedReadonly is a property modifier. Simple Pick by value type cannot detect it, and a non-distributive key calculation loses union members.
PickWritableExcludedReadonly is a property modifier. Simple Pick by value type cannot detect it, and a non-distributive key calculation loses union members.
PipeExcludedA partial application or function pipeline carries argument positions, inference, and return-type flow. A list of function types alone does not specify those relationships.
PositiveInfinityExcludedUsing an extreme numeric literal in a public type can carry domain-specific range intent. A runtime Infinity value does not give a distinct literal type.
PrimitiveCoveredprefer-type-fest-primitive
PromisableCoveredprefer-type-fest-promisable
PropertyValueExcludedIndexed access can reject a legitimate numeric key alias or drop a union member lacking the key. The intended fallback must be known.
ReadonlyDateCoveredprefer-type-fest-readonly-date. Matches the readonly view that omits the native date setters.
ReadonlyDeepCoveredprefer-type-fest-readonly-deep
ReadonlyDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with keep can configure unrelated code.
ReadonlyKeysOfCoveredprefer-type-fest-readonly-keys-of
RemovePrefixExcludedA literal match has an obvious remainder, but widened prefixes and suffixes need an explicit fallback. Project helpers can preserve, widen, or reject the input.
RemovePrefixOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
RemoveSuffixExcludedA literal match has an obvious remainder, but widened prefixes and suffixes need an explicit fallback. Project helpers can preserve, widen, or reject the input.
RemoveSuffixOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
RenameKeysExcludedA remapping policy must define collision handling, numeric key aliases, and the resulting optional and readonly modifiers.
ReplaceExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
ReplaceOptionsExcludedThis is the options contract for an upstream operation. A local object with all can configure unrelated code.
RequireAllOrNoneCoveredprefer-type-fest-require-all-or-none
RequireArityExcludedCounting all function parameters also counts optional ones. Rest parameters and overloads complicate the minimum required arity.
RequireAtLeastOneCoveredprefer-type-fest-require-at-least-one
RequiredDeepCoveredprefer-type-fest-required-deep
RequiredDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with keep can configure unrelated code.
RequiredKeepUndefinedExcludedThe optional modifier and an explicit undefined union carry different information under exactOptionalPropertyTypes. A shallow Partial or Required cannot recover that distinction.
RequiredKeysOfCoveredprefer-type-fest-required-keys-of
RequiredNonNullableCoveredprefer-type-fest-required-non-nullable
RequireExactlyOneCoveredprefer-type-fest-require-exactly-one
RequireNoneCoveredprefer-type-fest-require-none
RequireOneOrNoneCoveredprefer-type-fest-require-one-or-none
RouteParametersExcludedPath grammars differ in escaping, separators, accepted indices, and fallback behavior. Similar string patterns do not establish the same grammar.
SchemaCoveredprefer-type-fest-schema
SchemaOptionsExcludedThis is the options contract for an upstream operation. A local object with recurseIntoArrays can configure unrelated code.
ScreamingSnakeCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
ScreamingSnakeCasedPropertiesExcludedProperty-name transforms need explicit word-boundary and recursion policies. A mapped type calling Uppercase alone changes different keys.
ScreamingSnakeCasedPropertiesDeepExcludedProperty-name transforms need explicit word-boundary and recursion policies. A mapped type calling Uppercase alone changes different keys.
ScreamingSnakeCaseStringExcludedRecognizing an already-cased string and converting a string to that case have different contracts. A local template literal does not identify which operation is intended.
SetFieldTypeExcludedRewriting a key must preserve its optional and readonly modifiers according to an explicit option. A simple mapped replacement lacks that policy.
SetFieldTypeOptionsExcludedThis is the options contract for an upstream operation. A local object with preservePropertyModifiers can configure unrelated code.
SetNonNullableCoveredprefer-type-fest-set-non-nullable
SetNonNullableDeepExcludedA recursive mapped type needs explicit stopping conditions for arrays, tuples, built-ins, and readonly properties to preserve the transformation.
SetNullableExcludedThese utilities preserve modifiers on unselected keys. Union distribution, tuple positions, and the selected key set make a generic Partial, Required, or intersection insufficient.
SetOptionalCoveredprefer-type-fest-set-optional
SetOptionalDeepExcludedThese utilities preserve modifiers on unselected keys. Union distribution, tuple positions, and the selected key set make a generic Partial, Required, or intersection insufficient.
SetOptionalExceptExcludedThese utilities preserve modifiers on unselected keys. Union distribution, tuple positions, and the selected key set make a generic Partial, Required, or intersection insufficient.
SetParameterTypeExcludedRebuilding a function with different parameters can drop its receiver, optional/rest parameter behavior, generic relationships, or overloads.
SetPropertyExcludedA shallow indexed assignment does not encode the upstream path grammar, numeric key aliases, or nested array updates.
SetReadonlyCoveredprefer-type-fest-set-readonly
SetRequiredCoveredprefer-type-fest-set-required
SetRequiredDeepExcludedA recursive mapped type needs explicit stopping conditions for arrays, tuples, built-ins, and readonly properties to preserve the transformation.
SetRequiredExceptExcludedThese utilities preserve modifiers on unselected keys. Union distribution, tuple positions, and the selected key set make a generic Partial, Required, or intersection insufficient.
SetRequiredNonNullableExcludedThese utilities preserve modifiers on unselected keys. Union distribution, tuple positions, and the selected key set make a generic Partial, Required, or intersection insufficient.
SetReturnTypeCoveredprefer-type-fest-set-return-type
SharedUnionFieldsExcludedMapping over a union changes how common, optional, and member-specific properties are collected. Keys alone do not identify the intended value types.
SharedUnionFieldsDeepExcludedNested unions can retain or omit different keys. Array recursion is an explicit policy choice.
SharedUnionFieldsDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with recurseIntoArrays can configure unrelated code.
SimplifyCoveredprefer-type-fest-simplify
SimplifyDeepExcludedExpansion for editor display can affect assignability and inference. An anonymous mapped type does not specify which types should be preserved.
SimplifyUnionExcludedThis mapped-and-indexed identity changes display and deferral for unresolved generic unions. A general union gives no reason to introduce the helper.
SingleKeyObjectExcludedA one-property literal does not guarantee that a generic input has precisely one key, especially for unions and index signatures.
SnakeCaseExcludedWord boundaries involving digits, punctuation, and consecutive capitals affect the output. A string case conversion can intentionally use a different tokenizer.
SnakeCasedPropertiesExcludedRemapping property names also needs a policy for word boundaries and non-string keys.
SnakeCasedPropertiesDeepExcludedDeep key renaming must define where to stop recursion, how arrays are treated, and which property names change.
SnakeCaseStringExcludedRecognizing an already-cased string and converting a string to that case have different contracts. A local template literal does not identify which operation is intended.
SomeExtendExcludedChecking a union of tuple members is different from checking every element or any element, particularly for empty tuples and never.
SomeExtendOptionsExcludedThis is the options contract for an upstream operation. A local object with strictNever can configure unrelated code.
SplitExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
SplitOnRestElementExcludedA variadic tuple can have fixed elements on both sides of its rest. A simple infer Rest does not describe which components to keep.
SplitOnRestElementOptionsExcludedThis is the options contract for an upstream operation. A local object with preserveOptionalModifier can configure unrelated code.
SplitOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
SpreadExcludedObject and array spread handle overwrite order and optional properties differently from an intersection.
StartsWithExcludedThe upstream predicate returns boolean for a broad string input. A conditional that checks just one template literal instead returns false.
StrictEventTargetExcludedTyped event targets choose their own event map and listener overloads. A standard EventTarget use does not identify that contract.
StringifiedCoveredprefer-type-fest-stringified
StringLengthCoveredprefer-type-fest-string-length
StringRepeatExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
StringReverseExcludedTemplate-literal operations have different fallbacks for branded, widened, empty, and union strings. Matching the literal happy path is insufficient.
StringSliceExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
StringToArrayExcludedManual equivalents are recursive template-literal parsers with subtle any, never, literal, and non-literal rest-element behavior. Broad replacement would be noisy and unsafe.
StringToArrayOptionsExcludedThis is the options contract for an upstream operation. A local object with strict can configure unrelated code.
StringToBooleanExcludedThe helper returns boolean for a broad string. Testing the two boolean literal strings alone misses that fallback.
StringToNumberExcludedThe obvious infer-number conditional helper is not equivalent to TypeFest's handling of string, any, infinities, and numeric strings without valid numeric literal counterparts.
StructuredCloneableExcludedStructured cloning supports a specific set of platform objects and containers. A local serialization model may deliberately accept different values.
SubsetOfCoveredprefer-type-fest-subset-of
SubstituteDeepExcludedRecursive transformations need explicit boundaries for containers, functions, object leaves, and cycles. A shallow indexed or mapped type cannot specify them.
SubtractExcludedTuple-length arithmetic over small positive literals does not cover negative numbers, widened arguments, or the upstream numeric limits.
SumExcludedTuple-length arithmetic over small positive literals does not cover negative numbers, widened arguments, or the upstream numeric limits.
TagExcludedTag names, metadata, and brand visibility depend on the originating brand. A structural field or plain intersection cannot establish that contract.
TaggedCoveredprefer-type-fest-tagged-brands
TaggedUnionExcludedA shared literal discriminant alone cannot encode the intended payload mapping, optional fields, or whether additional properties are allowed.
ThunkableCoveredprefer-type-fest-thunkable
ToStringExcludedA template with an interpolated value can be a formatting policy for a restricted input set. Its syntax alone does not establish the upstream input domain.
TrimExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
TruthyCoveredprefer-type-fest-truthy
TsConfigJsonExcludedA project file schema may intentionally accept private extensions or reject upstream fields. Its name cannot establish schema compatibility.
TupleLengthExcludedTupleLength rejects open arrays, whereas indexing length returns number. The existing ArrayLength rule targets a different contract.
TupleMaxExcludedNumeric calculations must handle widened numbers, unions, infinities, and branded inputs. Recursion over a finite literal tuple covers only part of that domain.
TupleMinExcludedNumeric calculations must handle widened numbers, unions, infinities, and branded inputs. Recursion over a finite literal tuple covers only part of that domain.
TupleOfCoveredprefer-type-fest-tuple-of
TupleToEnumExcludedAn enum-like record needs explicit readonly and literal-key policies. Assigning numeric values additionally depends on a stable tuple order.
TupleToEnumOptionsExcludedThis is the options contract for an upstream operation. A local object with numeric, startIndex can configure unrelated code.
TupleToObjectExcludedAn index-mapped tuple and an object with numeric or string keys can differ in preserved modifiers and generated array members.
TupleToUnionExcludedT[number] is already owned by prefer-type-fest-array-element, and adding a second rule would duplicate reports.
TypedArrayExcludedProjects can deliberately omit BigInt or other typed-array families from an otherwise similar union.
UncurryExcludedLocal function transformations choose their own handling of optional arguments, rest parameters, overloads, and inference.
UndefinableDeepExcludedRecursive transformations need explicit boundaries for containers, functions, object leaves, and cycles. A shallow indexed or mapped type cannot specify them.
UndefinableDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with keep can configure unrelated code.
UndefinedOnPartialExcludedThe optional modifier and an explicit undefined union carry different information under exactOptionalPropertyTypes. A shallow Partial or Required cannot recover that distinction.
UndefinedOnPartialDeepExcludedA recursive mapped type needs explicit stopping conditions for arrays, tuples, built-ins, and readonly properties to preserve the transformation.
UndefinedToOptionalExcludedThe optional modifier and an explicit undefined union carry different information under exactOptionalPropertyTypes. A shallow Partial or Required cannot recover that distinction.
UnionLengthCoveredprefer-type-fest-union-length
UnionMaxExcludedNumeric calculations must handle widened numbers, unions, infinities, and branded inputs. Recursion over a finite literal tuple covers only part of that domain.
UnionMemberCoveredprefer-type-fest-union-member
UnionMinExcludedNumeric calculations must handle widened numbers, unions, infinities, and branded inputs. Recursion over a finite literal tuple covers only part of that domain.
UnionToEnumExcludedAn enum-like record needs explicit readonly and literal-key policies. Assigning numeric values additionally depends on a stable tuple order.
UnionToIntersectionCoveredprefer-type-fest-union-to-intersection
UnionToTupleCoveredprefer-type-fest-union-to-tuple
UnknownArrayCoveredprefer-type-fest-unknown-array
UnknownCollectionExcludedThis utility includes arrays, maps, sets, and readonly and weak variants. Narrower project-specific collection unions are common.
UnknownMapCoveredprefer-type-fest-unknown-map
UnknownRecordCoveredprefer-type-fest-unknown-record
UnknownSetCoveredprefer-type-fest-unknown-set
UnwrapBrandedPrimitiveExcludedTag names, metadata, and brand visibility depend on the originating brand. A structural field or plain intersection cannot establish that contract.
UnwrapOpaqueMigrationprefer-type-fest-unwrap-tagged recognizes this deprecated source spelling.
UnwrapPartialExcludedRemoving a mapped wrapper without preserving primitives, arrays, maps, and sets changes how those inputs behave.
UnwrapRequiredExcludedRemoving a mapped wrapper without preserving primitives, arrays, maps, and sets changes how those inputs behave.
UnwrapTaggedCoveredprefer-type-fest-unwrap-tagged
UppercaseLetterExcludedA hand-written alphabet can intentionally select a subset of ASCII. Matching an alias name cannot establish the exact character set.
ValueOfCoveredprefer-type-fest-value-of
ValueOfDeepExcludedRecursive transformations need explicit boundaries for containers, functions, object leaves, and cycles. A shallow indexed or mapped type cannot specify them.
WhitespaceCharacterExcludedCharacter tables encode the chosen alphabet. A project's punctuation or whitespace set can intentionally differ.
WordsExcludedLiteral string parsers differ in their handling of wide strings, empty matches, and repeated or missing separators.
WordsOptionsExcludedThis is the options contract for an upstream operation. A local object with splitOnNumbers, splitOnPunctuation can configure unrelated code.
WritableCoveredprefer-type-fest-writable
WritableDeepCoveredprefer-type-fest-writable-deep
WritableDeepOptionsExcludedThis is the options contract for an upstream operation. A local object with keep can configure unrelated code.
WritableKeysOfCoveredprefer-type-fest-writable-keys-of
XorExcludedBoolean XOR has a policy for boolean unions and never. Object-exclusive unions express an unrelated operation.

Type exports from type-fest/globals​

Importing this subpath also augments SymbolConstructor.observable. That ambient member has no independent exported name. The following three types belong specifically to type-fest/globals.

ExportDecisionRule or reason
ObservableLikeExcludedAn object with a subscribe method alone does not establish the required observer protocol and subscription contract.
ObserverExcludedCallback interfaces choose different combinations of next, error, and complete handlers. Their names alone do not establish callback and error semantics.
UnsubscribableExcludedAn unsubscribe method is common to unrelated resource APIs. Its spelling does not establish an observable subscription.

Former type-fest exports​

These six root exports from the v5.8.0 baseline were removed in v6. They are listed separately so their migration rules remain discoverable without inflating the current export count.

ExportDecisionRule or reason
IfAnyMigrationprefer-type-fest-if recognizes this v5 conditional alias.
IfEmptyObjectMigrationprefer-type-fest-if recognizes this v5 conditional alias.
IfNeverMigrationprefer-type-fest-if recognizes this v5 conditional alias.
IfNullMigrationprefer-type-fest-if recognizes this v5 conditional alias.
IfUnknownMigrationprefer-type-fest-if recognizes this v5 conditional alias.
ReadonlyTupleMigrationprefer-type-fest-tuple-of recognizes the removed alias and preserves tuple readonlyness.

Maintaining the inventory​

Use npx vitest run test/upstream-export-coverage.test.ts to compare these rows with TypeScript's resolved public symbols in the pinned fixture and the registered rules. Run npm run build and npm run sync:rules:check for the separate README and preset checks. An upstream version change calls for inspecting new and removed symbols as well as behavior changes in exports whose names survive.

Before adding a rule for an excluded export, identify a real, repeated pattern and establish its behavior on the supported inputs. Preserve union distribution, optional and readonly modifiers, alias bindings, and runtime side effects where applicable. For autofixes, test the rewritten result and include counterexamples where a change would alter behavior.