I am importing a .js file (so not a .ts-file) called Auth.js into my reactjs&typescript application, so in my component I have this:
import * as Auth from \'
Try by removing * as. You are exporting Auth as default. Default export property we import directly without any * or {}.
* as
Auth
*
{}
import Auth from '../Auth/Auth'; .. const auth = new Auth();