class Calc { add(a: number, b: number): number { return a + b; } } export default new Calc();