You forgot to copy paste the answer too:
https://stackoverflow.com/questions/39282253/how-can-i-alias-a-default-import-in-javascript
defaultMember already is an alias - it doesn't need to be the name of the exported function/thing. Just do
import alias from 'my-module';
Alternatively you can do
import {default as alias} from 'my-module';
but that's rather esoteric.