Skip to content

Typescript: store variable type inference error #1382

@asv7c2

Description

@asv7c2

Describe the bug
When using prefix or postfix increment of store variable type is deduced to void.

To Reproduce
See screenshots

Expected behavior
Type infered to number

Screenshots
1
2

System (please complete the following information):

  • OS: Windows 10 x64
  • IDE: VSCode
  • Plugin/Package: svelte-language-server

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions