morphit/node_modules/eslint-plugin-svelte/lib/shared/svelte-compile-warns/extract-leading-comments.d.ts

5 lines
308 B
TypeScript

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