Skip to content

Checking is slow in project consuming xstate types #39826

Closed
@amcasey

Description

@amcasey

The original project is here: https://github.com/AlCalzone/node-zwave-js
The actual owner is @AlCalzone

  1. Clone https://github.com/amcasey/ZwavePerfRepro
  2. npm ci
  3. tsc -p .

The portion of the code below // ACASEY boils down to a single function call that takes the vast majority of the checking time. The portion of the code above is enough scaffolding to make it compile.

I've framed the problem in terms of tsc because it's easier to investigate, but the editor experience is also terrible.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions