File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' svelte ' : patch
3+ ---
4+
5+ fix: Add missing ` AttachTag ` in ` Tag ` union type inside the ` AST ` namespace from ` "svelte/compiler" `
Original file line number Diff line number Diff line change @@ -547,7 +547,13 @@ export namespace AST {
547547 | AST . SvelteWindow
548548 | AST . SvelteBoundary ;
549549
550- export type Tag = AST . ExpressionTag | AST . HtmlTag | AST . ConstTag | AST . DebugTag | AST . RenderTag ;
550+ export type Tag =
551+ | AST . AttachTag
552+ | AST . ConstTag
553+ | AST . DebugTag
554+ | AST . ExpressionTag
555+ | AST . HtmlTag
556+ | AST . RenderTag ;
551557
552558 export type TemplateNode =
553559 | AST . Root
Original file line number Diff line number Diff line change @@ -1362,7 +1362,13 @@ declare module 'svelte/compiler' {
13621362 | AST . SvelteWindow
13631363 | AST . SvelteBoundary ;
13641364
1365- export type Tag = AST . ExpressionTag | AST . HtmlTag | AST . ConstTag | AST . DebugTag | AST . RenderTag ;
1365+ export type Tag =
1366+ | AST . AttachTag
1367+ | AST . ConstTag
1368+ | AST . DebugTag
1369+ | AST . ExpressionTag
1370+ | AST . HtmlTag
1371+ | AST . RenderTag ;
13661372
13671373 export type TemplateNode =
13681374 | AST . Root
You can’t perform that action at this time.
0 commit comments