Skip to content

no error on invalid bound in $$Generic #1778

@DetachHead

Description

@DetachHead

Describe the bug

there's no error when specifying an invalid bound on $$Generic

Reproduction

<script lang="ts">
    type T = $$Generic<asdf> // no error
</script>

Expected behaviour

error because asdf does not exist

System Info

  • OS: windows 10
  • IDE: vscode

Which package is the issue about?

svelte-check

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglimitationConstraints of the existing architecture make this hard to fixwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions