Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler: compile jobs from typescript #51

Open
josephjclark opened this issue Oct 28, 2022 · 0 comments
Open

Compiler: compile jobs from typescript #51

josephjclark opened this issue Oct 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@josephjclark
Copy link
Collaborator

Seems to me there's no reason we shouldn't support jobs written in typescript.

Given a flag or directive at the top of the job source, or a file extension, we should be able to first compile the job into javascript before running the regular transformation pipeline.

This is mostly not a very big deal - I guess the difficulty comes from setting up the typescript rules. Usually when we write typescript we provide a tsconfig. Would we have to default it? Should we accept one? What about type definitions, how do we import those?

@josephjclark josephjclark added the enhancement New feature or request label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Icebox
Development

No branches or pull requests

1 participant