intial
This commit is contained in:
15
node_modules/eslint-plugin-svelte/lib/shared/svelte-compile-warns/ignore-comment.d.ts
generated
vendored
Normal file
15
node_modules/eslint-plugin-svelte/lib/shared/svelte-compile-warns/ignore-comment.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { AST } from 'svelte-eslint-parser';
|
||||
import type { RuleContext } from '../../types.js';
|
||||
export type IgnoreItemWithoutCode = {
|
||||
range: [number, number];
|
||||
code: null;
|
||||
token: AST.Token | AST.Comment;
|
||||
};
|
||||
export type IgnoreItem = {
|
||||
range: [number, number];
|
||||
code: string;
|
||||
codeForV5: string;
|
||||
token: AST.Token | AST.Comment;
|
||||
};
|
||||
/** Extract all svelte-ignore comment items */
|
||||
export declare function getSvelteIgnoreItems(context: RuleContext): (IgnoreItem | IgnoreItemWithoutCode)[];
|
||||
Reference in New Issue
Block a user