-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Support TS in hooks and filters #455
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
I'm curious how many times this has been a problem 😄 |
Reason/Context
At the moment
generator
doesn't support TS in hooks and filters. Problematic is that if someone wants to use TS in template he/she can't, because mentioned hooks and filters won't work due to handle them by generator itself, so generator should handle transpilation to JS before rendering process.Description
I don't think it will be a breaking change. We should do something like that https://github.com/kyma-project/website/blob/master/gatsby/index.js#L3 so before saving filters to nunjucks we should transpile TS code to JS code. This same for hooks.
The text was updated successfully, but these errors were encountered: