Function: getMappedKeyExtractionInputType()
function getMappedKeyExtractionInputType(
node: Readonly<TSESTree.TSConditionalType>,
localGuardNames: ReadonlySet<string>,
typeFestNamespaceImportNames: ReadonlySet<string>,
guardTypeName: string,
sourceCode: Readonly<TSESLint.SourceCode>
): TypeNode | undefined;
Defined in: _internal/key-extraction-type-patterns.ts:215
Extract T from TypeFest's canonical mapped-key extraction composition:
A distributive conditional whose true branch intersects keyof T with a
mapped type filtered through the corresponding TypeFest key guard.
Parametersโ
nodeโ
Readonly<TSESTree.TSConditionalType>
localGuardNamesโ
ReadonlySet<string>
typeFestNamespaceImportNamesโ
ReadonlySet<string>
guardTypeNameโ
string
sourceCodeโ
Readonly<TSESLint.SourceCode>
Returnsโ
TypeNode | undefined