Skip to content

migration: auto rename type witht same name #14199

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

Closed
zhihengGet opened this issue Nov 7, 2024 · 1 comment
Closed

migration: auto rename type witht same name #14199

zhihengGet opened this issue Nov 7, 2024 · 1 comment

Comments

@zhihengGet
Copy link

zhihengGet commented Nov 7, 2024

Describe the bug

in the migration script ,can we add a new feature to auto rename types ?

got this error <!-- @migration-task Error while migrating Svelte code: Identifier 'book' has already been declared -->

related #13125

Reproduction


<script lang="ts">
	import {type a} from "./Component.ts"
	let {a}=$props()
	let name = 'world';
</script>

<h1>Hello {name}!</h1>

Logs

No response

System Info

-

Severity

annoyance

@paoloricciuti
Copy link
Member

Yup this is the same bug and an upstream one

#13125 (comment)

therefore closing as duplicate of #13125

@paoloricciuti paoloricciuti closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
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

2 participants