feat: extract greet module #2

Merged
erik merged 2 commits from feat/1277-extract-greet-module into main 2026-01-26 05:13:16 +00:00
Owner

Extract the greet function from index.ts into its own module.

Changes

  • Create src/greet.ts with greet() function and GreetOptions interface
  • Update src/index.ts to import from @/greet and re-export public API

Task

Closes #1277

Extract the greet function from index.ts into its own module. ## Changes - Create `src/greet.ts` with `greet()` function and `GreetOptions` interface - Update `src/index.ts` to import from `@/greet` and re-export public API ## Task Closes #1277
- Create src/greet.ts with greet() function and GreetOptions interface
- Update src/index.ts to import from @/greet and re-export public API

Task: #1277
Tests both call signatures:
- greet(name: string)
- greet(options: GreetOptions)

Task: #1277
erik merged commit 5576354d31 into main 2026-01-26 05:13:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
erik/hello-world!2
No description provided.