intial
This commit is contained in:
15
node_modules/svelte-eslint-parser/lib/context/let-directive-collection.d.ts
generated
vendored
Normal file
15
node_modules/svelte-eslint-parser/lib/context/let-directive-collection.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { SvelteLetDirective, SvelteName } from "../ast/index.js";
|
||||
import type * as ESTree from "estree";
|
||||
import type { ScriptLetBlockParam, ScriptLetCallback } from "./script-let.js";
|
||||
/** A class that collects pattern nodes for Let directives. */
|
||||
export declare class LetDirectiveCollection {
|
||||
private readonly list;
|
||||
getLetParams(): ScriptLetBlockParam[];
|
||||
addPattern(pattern: ESTree.Pattern | SvelteName, directive: SvelteLetDirective, typing: string, ...callbacks: ScriptLetCallback<ESTree.Pattern>[]): ScriptLetCallback<ESTree.Pattern>[];
|
||||
}
|
||||
export declare class LetDirectiveCollections {
|
||||
private readonly stack;
|
||||
beginExtract(): void;
|
||||
getCollection(): LetDirectiveCollection;
|
||||
extract(): LetDirectiveCollection;
|
||||
}
|
||||
Reference in New Issue
Block a user