refactor: move person types in interface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { GraphqlPerson, Person } from './types';
|
||||
import { GraphqlPerson, Person } from '../../interfaces/person.interface';
|
||||
|
||||
export const mapPerson = (person: GraphqlPerson): Person => ({
|
||||
fullName: `${person.firstname} ${person.lastname}`,
|
||||
|
||||
Reference in New Issue
Block a user