Skip to content
Discussion options

You must be logged in to vote

I'm sorry to call you out like this, but I literally told you to check your target.. And none of the documentation here is incorrect. As you were using typescript with svelte 5, you should've checked svelte docs, where it clearly states to target ES2022 or higher.
Svelte docs for typescript

And if you create pure svelte + vite in the recommended way (also in svelte docs), it would have already added the target of ESNext in tsconfig.app.json. This project is not to blame for the "incorrect" documentation, but rather probably the template you were using for your project.

Yes, a note could've been helpful, but honestly, it wasn't the responsibility of shadcn-svelte.

Replies: 31 comments 23 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@FaintShadow
Comment options

@AriDeve
Comment options

@FaintShadow
Comment options

@AriDeve
Comment options

@FaintShadow
Comment options

Comment options

You must be logged in to vote
5 replies
@AriDeve
Comment options

Answer selected by FaintShadow
@FaintShadow
Comment options

@AriDeve
Comment options

@AriDeve
Comment options

@FaintShadow
Comment options

Comment options

You must be logged in to vote
6 replies
@romanrehacek
Comment options

@FaintShadow
Comment options

@romanrehacek
Comment options

@FaintShadow
Comment options

@AriDeve
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
triage The issue is pending triage by a maintainer.
4 participants
Converted from issue

This discussion was converted from issue #1821 on April 17, 2025 14:54.