function buildName(firstName: string, lastName?: string) { // ... }