type Person = { firstName : string ; lastName : string ; } ; const fullName = ( { firstName , lastName } ) : string => `${ firstName } ${ lastName }` ; export type { Person , } ; export { fullName , } ;