Complete worked example
typescript
type Field = "title" | "count";
type EventName = `${Field}Changed`;
function eventName(name: EventName): EventName { return name; }
const event = eventName("titleChanged");- Reasoning
- The suffix stays connected to the finite field union without creating runtime handlers.