morphit/node_modules/eslint-plugin-svelte/lib/rules/indent-helpers/index.d.ts

10 lines
406 B
TypeScript

import type { RuleContext, RuleListener } from '../../types';
import type { IndentOptions } from './commons';
/**
* Creates AST event handlers for html-indent.
*
* @param context The rule context.
* @param defaultOptions The default value of options.
* @returns AST event handlers.
*/
export declare function defineVisitor(context: RuleContext, defaultOptions: Partial<IndentOptions>): RuleListener;