import PostLike from '../infra/typeorm/entities/PostLike' ; interface IPostLikesRepository { findByPost ( post ) : Promise < PostLike [ ] > ; create ( data ) : Promise < PostLike > ; remove ( id ) : void ; } export default IPostLikesRepository ;