Typescript problem: can't use actions inside always #1480
Answered
by
DirkWolthuis
DirkWolthuis
asked this question in
General
Replies: 4 comments 8 replies
-
And the code works just fine :) |
Beta Was this translation helpful? Give feedback.
1 reply
-

Still the same problem
|
Beta Was this translation helpful? Give feedback.
3 replies
-
In the right bottom corner. Same place as VSC
|
Beta Was this translation helpful? Give feedback.
3 replies
-
cool thanks that works!
… |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davidkpiano
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
With TS version 4.0.3 I get a Typescript error that I can't place.
The actions object gives the following typescript error:
Type 'AssignAction<{ generator: Generator; }, GeneratorEvents>' is not assignable to type 'string | ActionObject<GeneratorContext, GeneratorEvents> | ActionFunction<GeneratorContext, GeneratorEvents> | Action<...>[] | undefined'. Type 'AssignAction<{ generator: Generator; }, GeneratorEvents>' is not assignable to type 'string'.ts(2322)
The context is of type generator: Generator, so I don't think that is a problem.
Beta Was this translation helpful? Give feedback.
All reactions