feat: support {@attach ...}
#2491
NodeCI.yml
on: pull_request
lint
48s
test-for-svelte-v5
1m 9s
test-for-svelte-v4
59s
update-fixtures
1m 30s
test-and-coverage
1m 34s
Matrix: test-for-svelte-v3
Matrix: test
Annotations
5 errors and 4 warnings
lint
Process completed with exit code 2.
|
lint:
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>'.
|
lint:
src/parser/converts/element.ts#L739
Argument of type 'InlineComponent | Component' is not assignable to parameter of type '{ attributes: AttributeOrDirective[] | (Attribute | SpreadAttribute | Directive)[]; }'.
|
lint:
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)[]; }'.
|
lint:
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)[]; }'.
|
lint:
src/parser/template.ts#L1
Unexpected 'fixme' comment: 'FIXME: Workaround to get type...'
|
lint:
src/parser/converts/const.ts#L22
Unexpected 'todo' comment: 'TODO Remove in v2 and later.'
|
lint:
src/parser/converts/attr.ts#L180
Unexpected 'fixme' comment: 'FIXME: Older parsers may use the same...'
|
lint:
src/ast/html.ts#L271
Unexpected 'todo' comment: 'TODO Remove in v2 and later.'
|