-1

I've had this problem for a while and haven't really found anyone with a similar issue. The Svelte 5 snippets do not accept primitive types as arguments.

primitives not recognized as valid types.

I have the script tag marked with lang="ts" but this still happens. Any ideas what is causing this? Using IntelliJ IDEA

1
  • 1
    This should work just fine, i.e. an IDE/tools issue.
    – brunnerh
    Commented Apr 11 at 16:06

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.