Skip to content

Property 'files' does not exist on type 'SvelteInputProps' #220

@PatrickG

Description

@PatrickG

Describe the bug
I'm getting the following typescript error on an input element with type="file".
Property 'files' does not exist on type 'SvelteInputProps'.

To Reproduce

<script>
  let files;
</script>

<input type="file" bind:files />

Expected behavior
No error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions