export the class and import it code example
Example: exporting a class
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };