feat: support {@attach ...}
#524
Annotations
5 errors
build
Process completed with exit code 2.
|
build:
src/visitor-keys.ts#L12
Property 'SvelteAttachTag' is missing in type '{ Program: "body"[]; SvelteScriptElement: ("body" | "name" | "startTag" | "endTag")[]; SvelteStyleElement: ("name" | "startTag" | "endTag" | "children")[]; SvelteElement: ("name" | "startTag" | "endTag" | "children")[]; ... 30 more ...; SvelteFunctionBindingsExpression: "expressions"[]; }' but required in type 'SvelteKeysType<SvelteNode>'.
|
build:
src/parser/converts/element.ts#L739
Argument of type 'InlineComponent | Component' is not assignable to parameter of type '{ attributes: AttributeOrDirective[] | (Attribute | SpreadAttribute | Directive)[]; }'.
|
build:
src/parser/converts/element.ts#L455
Argument of type 'Element | InlineComponent | Window | Document | Body | Head | Options | SlotTemplate | SvelteBody | ... 8 more ... | SvelteBoundary' is not assignable to parameter of type '{ attributes: AttributeOrDirective[] | (Attribute | SpreadAttribute | Directive)[]; }'.
|
build:
src/parser/converts/element.ts#L334
Argument of type 'Element | Title | Slot | TitleElement | SlotElement | RegularElement' is not assignable to parameter of type '{ attributes: AttributeOrDirective[] | (Attribute | SpreadAttribute | Directive)[]; }'.
|