-
# Bug Report
### 🔎 Search Terms
inference, type parameters, conditional type, signature resolving
### 🕗 Version & Regression Information
This is the behavior present in all 4.x versions av…
-
### Description
If I use typegen with all options inside of the same file, the types work as expected. If I move any of these options to an external file, typegen cannot infer the method signatures…
-
If you find a security vulnerability, do NOT open an issue. Email [security@sanity.io](mailto:security@sanity.io) instead.
**Describe the bug**
i have the following query:
```
export const p…
-
During dev, if you include the @xstate/cli into your dependency list, the xstate plugin should use the exact version (or preferably the same binary) to execute the typegen. Recently the typegen has ch…
-
Hi,
Great work on the CLI, I'm really excited to use this, and this will help me finally get my typegen PR merged.
I just tried it out and ran into a couple of issues:
---
1. This is minor, …
-
The typegen file for machine is currently called `[machine].typegen.ts`. Because this file only contains typings, it might be better to rename it to `[machine].typegen.d.ts`.
I ran into this being …
-
I get the following (confusing!) error. Code is below:
```
Error: –– Pkl Error ––
Cannot generate type TransformInfuseRule as TypeScript.
58 | else throw("Cannot generate type \(type.referent.…
-
vscode extension automatically inserts type assertion for `tsTypes` field in `createMachine()` for example from
`tsTypes: {}`
we get
`tsTypes: {} as import("./scan.machine.typegen").Typegen0`
…
-
### Description
This might be an error in my code, but after a couple of sessions trying to log from the `machine-extractor/dist/xstate-machine-extractor.cjs.dev.js` file, etc, without results, I tho…
-
When trying to install the kpt function SDK (`npm install -d`) I get the following error:
```
npm info lifecycle create-kpt-functions@0.16.4~postinstall: create-kpt-functions@0.16.4
> create-kp…