ice/examples/with-jest/src/add.ts

8 lines
106 B
TypeScript

import log from '@/log';
export default function add(a: number, b: number) {
log();
return a + b;
}