Can a module that is defined without a default export be imported using import module from 'module';
and then compiled to commonjs?
An answer on Stack Overflow suggests that it might be possible with the use of the --allowSyntheticDefaultImports
option, although this seems to apply only to systemjs modules.
According to the Compiler Options Documentation, the allowSyntheticDefaultImports
flag primarily affects typechecking.
Are there any alternative solutions aside from using the
import * from module as 'module';
syntax?