Files
SnowLuma/.pnpm-store/v11/files/da/5ac2e26530a19f367390959d84499f6e5c0a772c825e83fa42cb8b88736c5f6e04c58023871cf57e70622344ba21b623af1f23a588bcb063d33df24a95b6bd
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
620 B
Plaintext

import type { TSESTree, ParserServicesWithTypeInformation } from '@typescript-eslint/utils';
import type * as ts from 'typescript';
/**
* Given a member of a class which extends another class or implements an interface,
* yields the corresponding member type for each of the base class/interfaces.
*/
export declare function getBaseTypesOfClassMember(services: ParserServicesWithTypeInformation, memberNode: TSESTree.MethodDefinition | TSESTree.PropertyDefinition): Generator<{
baseType: ts.Type;
baseMemberType: ts.Type;
heritageToken: ts.SyntaxKind.ExtendsKeyword | ts.SyntaxKind.ImplementsKeyword;
}>;