UNPKG

320 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2import type { ClassDeclaration, ClassExpression, ClassMethod, Expression } from '@babel/types';
3export default function getClassMemberValuePath(classDefinition: NodePath<ClassDeclaration | ClassExpression>, memberName: string): NodePath<ClassMethod | Expression> | null;