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

Better TypeScript support #53

Open
3 tasks done
kraih opened this issue Jan 14, 2022 · 1 comment
Open
3 tasks done

Better TypeScript support #53

kraih opened this issue Jan 14, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kraih
Copy link
Member

kraih commented Jan 14, 2022

Right now TypeScript support is decent, but there's still a few rough edges. In this issue we can collect problems with types and possible solutions.

Known Issues:

  • Built-in helpers like ctx.exception are not declared on the MojoContext type
  • We have no best practice yet for 3rd party plugins to declare the helpers they add to MojoContext
  • TypeScript example plugin, easy to fork (mojo-plugin-nunjucks)
@kraih kraih added enhancement New feature or request help wanted Extra attention is needed labels Jan 14, 2022
@kraih
Copy link
Member Author

kraih commented Jun 9, 2022

Known issues are currently resolved, but i'm sure there's more to improve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant