class export code example
Example 1: js class export
export class ClassName {...}
Example 2: exporting a class
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };
export class ClassName {...}
'use strict';
class Utility {
constructor() {
}
}
const Utility = () => new Utility();
export { Utility };