UNPKG

378 BTypeScriptView Raw
1import * as bt from '@babel/types';
2import { NodePath } from 'ast-types/lib/node-path';
3import Documentation from '../Documentation';
4/**
5 * Extracts all events from a class-style component code
6 * @param documentation
7 * @param path
8 * @param astPath
9 */
10export default function classEventHandler(documentation: Documentation, path: NodePath, astPath: bt.File): Promise<void>;