Typescript v 2.7 released really neat flag called --esModuleInterop
https://www.typescriptlang.org/docs/handbook/compiler-options.html, I am trying to figure out if there is a way to use it with tsconfig.json
as currently it doesn't seem to be documented : http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
Unless it somehow works with module?
Main use case I want to achieve is to be able to import things like this
import React from "react"
as opposed to
import * as React from "react"
And do so from my tsconfig if possible