Effect CommunityEC
Effect Community2y ago
1 reply
danielo515

Ensuring Type-Safe JavaScript Code Generation with TypeScript Validation

Does anyone have experience about how to generate JavaScript code while having typescript checking that methods and arguments are correct? I have an API defined and I want to be able to generate code that uses such API, but with the compiler checking that methods and arguments are correct. Note the code will not be checked by typescript once generated, the generator runs at runtime. I feel that it needs to see something similar to Effect (a composable EDSL)
Was this page helpful?