Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identifier has alreay been declared #15684

Open
zhihengGet opened this issue Apr 4, 2025 · 0 comments
Open

Identifier has alreay been declared #15684

zhihengGet opened this issue Apr 4, 2025 · 0 comments

Comments

@zhihengGet
Copy link

zhihengGet commented Apr 4, 2025

Describe the bug

related #13125

i thought @svelte/acorn-typescirpt will fix it but after i removed script option it still failed am i misunderstanding it ?

https://svelte.dev/playground/untitled?version=5.25.6#H4sIAAAAAAAACnWPTWrDMBCFrzLMWth7YQe66wW66nShOuMikEdCM2lThO9eRFKaQLP93uP9NJSwMXp8EYuW-IgO15hY0b82tO_StQ7Q_TqfShn0k5N19h6U_-NLFmMxRY_TBfpcLGZRqCdhhfFAMulSYzFIQT5mQlPCAwkZxK3katDroUHYYa15A8JhDEN33ZraA5lkGi_5PVOeOaWMDo3Pht7qiXf34GAPub92JTen-Py3MMDcdpIrWrKoQZgJCe_73hxaiOkryhH9GpLy_gPS2daNfwEAAA==

below also failed

import type { a} from "./a.ts"
let a:a=1Error compiling App.svelte Identifier 'a' has already been declared

Reproduction

Logs

-

System Info

-

Severity

annoyance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant