Skip to content

support new exactOptionalPropertyTypes option for stricter types #1156

@macmillen

Description

@macmillen

Is your feature request related to a problem? Please describe.
I upgraded typescript to 4.4.2 and enabled the new flag exactOptionalPropertyTypes for stricter types. Problem is that the errors are only shown when I run svelte-check but not in VSCode itself.

Describe the solution you'd like
Make the Svelte VSCode extension show the errors and the correct type information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions