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.` + +}