Skip to content

Implement syntax checking for TypeScript code #19

Description

@ashleydavis

DFN supports both JS and TS code through Babel compilation. But TS code isn't syntax checked by Babel, so there needs to be a separate syntax/type checking step to do this.

Note that syntax checking can run in parallel to actually evaluating the notebook.

This would be best implemented in the evaluation-engine package.

There is a test notebook that can be used to test this: error - typescript type error.notebook

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions