getClassMemberValuePath.d.ts 320 B

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