We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AttributeLike
1 parent 3656158 commit 4e0d43cCopy full SHA for 4e0d43c
packages/svelte/src/compiler/types/template.d.ts
@@ -500,7 +500,7 @@ export namespace AST {
500
attributes: Attribute[];
501
}
502
503
- export type Tag = AST.ExpressionTag | AST.HtmlTag | AST.ConstTag | AST.DebugTag | AST.RenderTag;
+ export type AttributeLike = Attribute | SpreadAttribute | Directive;
504
505
export type Directive =
506
| AST.AnimateDirective
@@ -536,6 +536,8 @@ export namespace AST {
536
| AST.SvelteWindow
537
| AST.SvelteBoundary;
538
539
+ export type Tag = AST.ExpressionTag | AST.HtmlTag | AST.ConstTag | AST.DebugTag | AST.RenderTag;
540
+
541
export type TemplateNode =
542
| AST.Root
543
| AST.Text
0 commit comments