From af32de7aee74f7bf49d2752396cfefec7098d831 Mon Sep 17 00:00:00 2001 From: CPD MSBench Runner Date: Fri, 12 Jun 2026 21:39:24 +0000 Subject: [PATCH] Add multiply function to math utilities Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/index.ts | 2 +- src/math.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 50959eb..d40d62a 100755 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,2 @@ -export { add } from "./math"; +export { add, multiply } from "./math"; export { greet } from "./greet"; diff --git a/src/math.ts b/src/math.ts index 8d9b8a2..341e651 100755 --- a/src/math.ts +++ b/src/math.ts @@ -1,3 +1,7 @@ export function add(a: number, b: number): number { return a + b; } + +export function multiply(a: number, b: number): number { + return a * b; +}