Hi, i've got an issue with custom code generator, when i'm making a custom generator i've got this issue on every block that i want to define the code generation :
Element implicitly has an 'any' type because expression of type '"union"' can't be used to index type 'CodeGenerator'.
Property 'union' does not exist on type 'CodeGenerator'.ts(7053)
Here is my code :
https://pastecode.io/s/cax0614b
The strange thing is, for the javascriptgenerator, it works perfectly, but not for the custom one