We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parent
SvelteFunctionBindingsExpression
1 parent 6ff7516 commit bc75922Copy full SHA for bc75922
.changeset/flat-starfishes-think.md
@@ -0,0 +1,5 @@
1
+---
2
+"svelte-eslint-parser": patch
3
4
+
5
+fix: add `parent` node to `SvelteFunctionBindingsExpression`
src/ast/script.ts
@@ -1,5 +1,6 @@
import type ESTree from "estree";
import type { BaseNode } from "./base.js";
+import type { SvelteBindingDirective } from "./html.js";
export type SvelteScriptNode =
6
| SvelteReactiveStatement
@@ -22,4 +23,5 @@ export interface SvelteFunctionBindingsExpression extends BaseNode {
22
23
/** Setter */
24
ESTree.Expression,
25
];
26
+ parent: SvelteBindingDirective;
27
}
0 commit comments