From 20e2e26667924edba77d6e5ad7fa70b5ec2e5a89 Mon Sep 17 00:00:00 2001 From: "exercism-solutions-syncer[bot]" <211797793+exercism-solutions-syncer[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:36:33 +0000 Subject: [PATCH] [Sync Iteration] typescript/two-fer/1 --- solutions/typescript/two-fer/1/two-fer.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 solutions/typescript/two-fer/1/two-fer.ts diff --git a/solutions/typescript/two-fer/1/two-fer.ts b/solutions/typescript/two-fer/1/two-fer.ts new file mode 100644 index 0000000..ff9099d --- /dev/null +++ b/solutions/typescript/two-fer/1/two-fer.ts @@ -0,0 +1,15 @@ +/** + * This stub is provided to make it straightforward to get started. + */ + +export function twoFer(name?: string): string { + // ^ ^ ^ this is called a return type; it's the type of the + // ^ ^ value that is returned from this function + // ^ ^ + // ^ parameters go here + // ^ + // allows the tests to import this function and call it + // <-- Your code goes here. You may remove all the commentary in this file. + return `One for ${name || "you"}, one for me.` + +}