Skip to content

TypeScript 3.7 Support #903

@loucyx

Description

@loucyx

I have TypeScript 3.7 installed on a project, and I run tests with ava and ts-node. The issue I found is that compilation works as expected, but tests fail because ts-node doesn't recognize the syntax for nullish coalescence and optional chaining.

So if I have:

foobar?.foo?.bar ?? "default value"

I get errors all over the place. Isn't ts-node using the local typescript package to do compilation?

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