feat: support for spreading function bindings #20987
Annotations
8 errors and 3 notices
TSGo
Process completed with exit code 1.
|
TSGo
Property 'name' does not exist on type 'Identifier | SpreadElement'.
|
TSGo
Type '{ start: number; end: number; type: any; name: string; expression: SpreadElement | Expression | null; metadata: { expression: ExpressionMetadata; }; }' is not assignable to type 'Directive'.
|
TSGo
Type '(node: BindDirective) => { start: number; end: number; name: string; expression: Identifier | MemberExpression | SequenceExpression | SpreadElement; metadata: { binding_group_name: Identifier; parent_each_blocks: EachBlock[]; }; type: "Binding"; }' is not assignable to type 'Visitor<BindDirective, null, AnimateDirective | ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AssignmentProperty | Atrule | AttachTag | Attribute | AttributeSelector | AwaitBlock | AwaitExpression | BigIntLiteral | BinaryExpression | BindDirective | Block | BlockStatement | BreakStatement | CatchClause | ChainExpression | ClassBody | ClassDeclaration | ClassDirective | ClassExpression | ClassSelector | Combinator | Comment | ComplexSelector | Component | ConditionalExpression | ConstTag | ContinueStatement | DebugTag | DebuggerStatement | Declaration | DoWhileStatement | EachBlock | EmptyStatement | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ExpressionStatement | ExpressionTag | ForInStatement | ForOfStatement | ForStatement | Fragment | FunctionDeclaration | FunctionExpression | HtmlTag | IdSelector | Identifier | IfBlock | IfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportSpecifier | KeyBlock | LabeledStatement | LegacyAction | LegacyAnimation | LegacyAttribute | LegacyAttributeShorthand | LegacyBinding | LegacyBody | LegacyCatchBlock | LegacyClass | LegacyComment | LegacyConstTag | LegacyDocument | LegacyElement | LegacyEventHandler | LegacyHead | LegacyInlineComponent | LegacyLet | LegacyMustacheTag | LegacyOptions | LegacyPendingBlock | LegacyRawMustacheTag | LegacySelector | LegacySlot | LegacySlotTemplate | LegacySpread | LegacyStyle | LegacyStyleDirective | LegacyThenBlock | LegacyTitle | LegacyTransition | LegacyWindow | LetDirective | LogicalExpression | MemberExpression | MetaProperty | MethodDefinition | NestingSelector | NewExpression | Nth | ObjectExpression | ObjectPattern | OnDirective | Percentage | PrivateIdentifier | Program | Property | PropertyDefinition | PseudoClassSelector | PseudoElementSelector | RegExpLiteral | RegularElement | RelativeSelector | RenderTag | RestElement | ReturnStatement | Root | Rule | Script | SelectorList | SequenceExpression | SimpleCallExpression | SimpleLiteral | SlotElement | SnippetBlock | SpreadAttribute | SpreadElement | StaticBlock | StyleDirective | StyleSheet | Super | SvelteBody | SvelteBoundary | SvelteComponent | SvelteDocument | SvelteElement | SvelteFragment | SvelteHead | SvelteOptionsRaw | SvelteSelf | SvelteWindow | SwitchCase | SwitchStatement | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Text | ThisExpression | ThrowStatement | TitleElement | TransitionDirective | TryStatement | TypeSelector | UnaryExpression | UpdateExpression | UseDirective | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | YieldExpression>'.
|
Lint
Process completed with exit code 1.
|
Lint
Process completed with exit code 2.
|
Lint
Property 'invalid_spread_bindings' does not exist on type 'typeof import("/home/runner/work/svelte/svelte/packages/svelte/src/internal/shared/errors")'.
|
Lint
Property 'invalid_spread_bindings' does not exist on type 'typeof import("/home/runner/work/svelte/svelte/packages/svelte/src/internal/shared/errors")'.
|
Tests (18, macOS-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Tests (18, macOS-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Tests (18, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|