Skip to content

Svelte 5 migration and comments (lang="ts") #13823

@JakeBeaver

Description

@JakeBeaver

Describe the bug

Comments above a property become uncommented when using typescript

Reproduction

https://svelte.dev/playground/076113ddc66e4ace84a6f0699bf145ec?version=5.0.5#H4sIAAAAAAAAA23LQQrCMBSE4auE2QnF7NNa8BzGRaxPKcTXkIxSKbm7RLfu5v9gNtzmKAXutIHvJHBfQAcNj1bHlPblJZHNLqHIP58WpSgLHIYy5TnRxKD3gweLx-jV01pTd31bsqYl00ShuQaG3utgf6fRKzpQVsIxP6We6wftXAqxoAAAAA==

image

Logs

No response

System Info

System:
    OS: Linux 6.5 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (2) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
    Memory: 4.94 GB / 7.74 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 18.20.4 - /usr/bin/node
    npm: 10.7.0 - /usr/bin/npm
    pnpm: 9.12.2 - /usr/bin/pnpm
  npmPackages:
    svelte: ^5.0.0 => 5.0.5

Severity

annoyance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions