adding support for `import * as foo from "foo"`