Skip to content

Better TypeScript support #53

@kraih

Description

@kraih

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions