Skip to content

Object literal may only specify known properties, and 'disabled' does not exist in type '$$ComponentProps' #708

@rsmarples

Description

@rsmarples

After upgrading to svelte-5 and smui-8, svelte-check complains about the error in the title for all components which could be disabled - such as Button.
SMUI buttons are still disabled and enabled fine at runtime, this is purely a compile time check issue.

$ npm list | grep 'smui\|svelte-check'
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── @smui/[email protected]
├── [email protected]
├── [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions