Skip to content

AttachNode AST node type is not included in the union type Tag from "svelte/compiler" #15945

Closed
@xeho91

Description

@xeho91

Describe the bug

Hi!

I started working on xeho91/js-ast#123, and I noticed the AttachTag wasn't included in the Tag union type inside the AST namespace from "svelte/compiler" submodule.

Reproduction

You can verify in the source code:

export type Tag = AST.ExpressionTag | AST.HtmlTag | AST.ConstTag | AST.DebugTag | AST.RenderTag;

System Info

System:
    OS: macOS 15.4.1
    CPU: (8) arm64 Apple M2
    Memory: 102.73 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.15.0 - ~/.local/state/fnm_multishells/21604_1747535175144/bin/node
    npm: 11.3.0 - ~/.local/state/fnm_multishells/21604_1747535175144/bin/npm
    pnpm: 10.4.0 - ~/.local/state/fnm_multishells/21604_1747535175144/bin/pnpm
    bun: 1.2.13 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 136.1.78.102
    Safari: 18.4
  npmPackages:
    svelte: workspace:^ => 5.30.2

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions