1 | import type { NodePath } from '@babel/traverse';
|
2 | import type { AssignmentExpression, ClassMethod, ClassPrivateMethod, ClassProperty, ObjectMethod, ObjectProperty } from '@babel/types';
|
3 | import type { MethodDescriptor } from '../Documentation.js';
|
4 | export type MethodNodePath = NodePath<AssignmentExpression> | NodePath<ClassMethod> | NodePath<ClassPrivateMethod> | NodePath<ClassProperty> | NodePath<ObjectMethod> | NodePath<ObjectProperty>;
|
5 | export default function getMethodDocumentation(methodPath: MethodNodePath, options?: {
|
6 | isStatic?: boolean;
|
7 | }): MethodDescriptor | null;
|