Function: getTwoElementTupleArgumentText()
function getTwoElementTupleArgumentText(
typeReference: Readonly<TSESTree.TSTypeReference>,
sourceCode: Readonly<TSESLint.SourceCode>
):
| Readonly<{
leftTypeText: string;
rightTypeText: string;
}>
| undefined;
Defined in: _internal/boolean-pair-type-patterns.ts:47
Extract element text from a type reference whose only argument is a two-item tuple.
Parametersโ
typeReferenceโ
Readonly<TSESTree.TSTypeReference>
sourceCodeโ
Readonly<TSESLint.SourceCode>
Returnsโ
| Readonly<{
leftTypeText: string;
rightTypeText: string;
}>
| undefined