statelyai / xstate-tools

Public monorepo for XState tooling
183 stars 40 forks source link

Typegen file not created on Linux #45

Closed GuillaumeAmat closed 2 years ago

GuillaumeAmat commented 2 years ago

On:

... The Typegen file is not generated and the tsTypes: {}, line has the following TS error:

Type '{}' is not assignable to type 'TypegenConstraint | undefined'.
  Property ''@@xstate/typegen'' is missing in type '{}' but required in type 'TypegenEnabled'.ts(2322)

I don't have any error in VS Code logs, as in https://github.com/statelyai/xstate-vscode/issues/40 though...

What could I give you to better investigate?

mattpocock commented 2 years ago

@GuillaumeAmat looks like you're using the old extension? Make sure you download this one:

https://marketplace.visualstudio.com/items?itemName=statelyai.stately-vscode

GuillaumeAmat commented 2 years ago

Oh! Thanks :pray: