#Cannot use `id` prop for svelte elements?
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
TypeScript does not seem to let me use an id prop for elements.
Might be useful to provide a little more context, your screenshot is cropped in pretty tight. Is this a .svelte file, or a .astro file with Svelte components?
It's a astro file -- I ended up removing the id's as I did not need them anyway.