Skip to content

ts-node usage should not do type checking #332

@matt-gadd

Description

@matt-gadd

Bug
We use ts-node to parse the routes config as well as blocks (because they're not compiled with webpack). Because of this sometimes ts-node can create spurious errors (due to incorrect configuration), when in reality we only want to use ts-node to transpile the code. To fix we should set transpileOnly to true in the register options:

tsnode.register({ transpileOnly: true });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions