two-fer.ts 248 B

12345678910
  1. /**
  2. * This stub is provided to make it straightforward to get started.
  3. */
  4. export function twoFer(whom: string): string {
  5. if (typeof whom !== 'string' || whom === "") {
  6. whom = "you";
  7. }
  8. return `One for ${whom}, one for me.`;
  9. }