Skip to content

Commit 1d4cb8e

Browse files
committed
regenerate
1 parent 9a1805b commit 1d4cb8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/svelte/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,9 +1050,9 @@ declare module 'svelte/compiler' {
10501050
expression: SimpleCallExpression | (ChainExpression & { expression: SimpleCallExpression });
10511051
}
10521052

1053-
/** A `{@attach foo(...)} tag */
1054-
export interface AttachTag extends BaseNode {
1055-
type: 'AttachTag';
1053+
/** An `attach(...)` attribute */
1054+
export interface Attachment extends BaseNode {
1055+
type: 'Attachment';
10561056
attachments: Array<Expression | SpreadElement>;
10571057
}
10581058

@@ -1138,7 +1138,7 @@ declare module 'svelte/compiler' {
11381138

11391139
interface BaseElement extends BaseNode {
11401140
name: string;
1141-
attributes: Array<Attribute | SpreadAttribute | Directive | AttachTag>;
1141+
attributes: Array<Attribute | SpreadAttribute | Directive | Attachment>;
11421142
fragment: Fragment;
11431143
}
11441144

@@ -1328,7 +1328,7 @@ declare module 'svelte/compiler' {
13281328
| AST.Attribute
13291329
| AST.SpreadAttribute
13301330
| Directive
1331-
| AST.AttachTag
1331+
| AST.Attachment
13321332
| AST.Comment
13331333
| Block;
13341334

0 commit comments

Comments
 (0)