Skip to content

Support flags like allowSyntheticDefaultImports? #86

@unional

Description

@unional

I have:

{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "module": "commonjs",
    ...
  }
}

and try to run a file using that feature and it fails.

This is for my team transitioning from JS to TS so I want to keep it as simple for them as possible (I control the environment so the behavior of import dr from 'domready'; is consistent.

Does ts-node honor this flag?

(I also notice module: system doesn't work either)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions