Skip to main content

Function: createPreferTypeFestHasKeysRule()

createPreferTypeFestHasKeysRule(__namedParameters: HasKeysRuleOptions): RuleModuleWithName<string>

Defined in: _internal/prefer-type-fest-has-keys-rule.ts:49

Create a rule that replaces KeysOf<T> extends never ? false : true with the matching TypeFest Has*Keys<T> type.

Parametersโ€‹

__namedParametersโ€‹

HasKeysRuleOptions

Returnsโ€‹

RuleModuleWithName<string>