UNPKG

eslint-plugin-mocha

Version:

Eslint rules for mocha.

7 lines 489 B
import { type AnyFunction } from '../ast/node-types.ts'; export declare function getFirstMeaningfulParameter(node: Readonly<AnyFunction>): AnyFunction['params'][number] | undefined; export declare function getIdentifierCallbackParameter(node: Readonly<AnyFunction>): Extract<AnyFunction['params'][number], { readonly type: 'Identifier'; }> | undefined; export declare function hasCallbackParameter(node: Readonly<AnyFunction>): boolean; //# sourceMappingURL=callback-parameter.d.ts.map