EITS-web/node_modules/eslint-plugin-svelte/lib/shared/svelte-compile-warns/extract-leading-comments.d.ts
2025-12-06 09:54:52 -05:00

6 lines
314 B
TypeScript

import type { AST } from 'svelte-eslint-parser';
import type { RuleContext } from '../../types.js';
import type { ASTNodeWithParent } from '../../types-for-node.js';
/** Extract comments */
export declare function extractLeadingComments(context: RuleContext, node: ASTNodeWithParent): (AST.Token | AST.Comment)[];