message: Arrumado tipagens do repository
diff: import { EntityRepository, Repository } from 'typeorm';
  -import { Part } from '../entity';
  +import { Lesson, Part } from '../entity';
  @EntityRepository(Part)
  export class PartRepository extends Repository<Part> {
  - async findByTitle({ title }): Promise<Part | undefined> {
  - return this.findOne({ title });
  - }
  -
  - async findById({ id }): Promise<Part | undefined> {
  + async findById(id: string): Promise<Part | undefined> {
  return this.findOne({ id });
  }
  - async findByTitleAndLessonId({ title, lesson }): Promise<Part | undefined> {
  + async findByTitleAndLesson(
  + title: string,
  + lesson: Lesson,
  + ): Promise<Part | undefined> {
  return this.findOne({ title, lesson });
  }
  }
  