Mateusz Burzyński

Results 1531 comments of Mateusz Burzyński

I can't repro the problem. I **think** you meant to report a repro using `MutiformMachineView.vue` (and not `MutiformView.vue`). It took me a moment to figure that out. But even with...

Repro case in [TS playground](https://www.typescriptlang.org/play/?ts=5.8.0-dev.20241212#code/PQKhAIAECsGcA9x0SYAoAlgWwA4HsAnAF3AG9wA5AU3iIAUBDAcyvAF9wAzAvLcAIgB2NIvwDcmXIRIAlKgwDGJbrwEF5S8ZPzEy4AJKCiVAvgA2DIhjyCANOAAqACypZWHFX36RXeKzeB1RVEJNCIATxxWAHUMIicAYRsAEzjrQQYzBIBlbLoeHAAeOgA+cABeAQULWFgKBjd+cBEqQWTYcABrKnC8TnA6NHBwAH5wWCICDEEmZtpW9oGAbX5qhlr6xvAAMi6evoGAXSHh0b0FWpGALgMjE3NLdMLnVyoythPhm9IPr7I2UKcACugiU6SQCAAFABKf5oDJuWA4RSsZBkE40HQkBFUJEo8AAKWyAA10ac5ljwBEouAAKJmV5GByRViVOTBAB0ROJHPpjKIzKiEnJmOk4GmxgInHxfLcRjmxjaHXZSi5JN5DLlJB+nwpYolJmlClYstaRASNQ6LSV4BVRDVPNNRgt6w6OpF8EpBqlMs1ZoAgkRJhgAEZA4ywfJ4KLEcK64bWxZ2h0a-mB4NhiNRmMROEer13H3Gul+51ODBmZLqQTpqaZqjxhULZUae3c1NahLlyvV2uh8OsHW60W6amsAAyoYIDAI4QAsgwMixkn367BCgl7KUKgMmzaQZ1BHgAO6CRtjWLxJJtNI2TI5PIFYplXbJ9uTkPT2cLpdUFdBusB3XTcBhKRsbmEAA3ExQnzfVCyNVhDGDQRYAwBRVyAxtExbTl22QqZUPQzCIzzU4RxIb1ENuFC0IUF1ahI3FnjA8kE3mG033VAjpjohjYCY9cHDKd1yM9MUxxowi6KdIgOkqUhGyWABpcVBD2Xp+i4nkeKIhRZNgQ4bm0jldJk0s5JUw4djJNjhguWBrho+48AsfxBGeFw3BKYU2IBXV-OGD4PjQBQbAmcBjziJx-XDJwd2KPdFjwENoCoJQSkhaJpxwKJkiSKRhCMG5qFoRgWGfWFyhEk4wtQkhYqvXh8CKkhKkhHAClgG46CqmryWAYBwA5EasHCcAzDwJh0N1dQiCBAh1MKbKGFyv8Cpas0yBGjlOujWAOGAHyTn8-ygA)

This is expected - typegen generates some extra data to aid **inference**. Inference only works when the contextual type can flow into an expression. In your case, `incrementCount` is already...

This does the trick: Possible patch that utilizes `MachineOptionsFrom` ```diff diff --git a/src/machines/actions.ts b/src/machines/actions.ts index e941abc..90a8133 100644 --- a/src/machines/actions.ts +++ b/src/machines/actions.ts @@ -1,7 +1,9 @@ -import { assign } from...

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. I can’t debug a lot from...

Could you list more specific repro steps? You also mention "existing title" - but the given code has no top-level `id`

I can confirm that I was able to reproduce this with tab-based indentation.

> However, the test passes if ThemeProvider is imported from @emotion/react. Why is this an issue created in the Emotion's repo then?

It seems like Vitest is not using a unified module resolution environment. Sometimes packages are resolved with one set of conditions and sometimes they are resolved with another set of...

The "parametrized actions" are not handled at all by the codegen/extension IIRC. This is certainly an issue and we plan to fix this.