| 310 | const film = FilmModelToJson.build(); |
| 311 | |
| 312 | class FilmModelExtendToJson extends Model<FilmToJson> implements FilmToJson { |
| 313 | id!: number; |
| 314 | name?: string; |
| 315 | |
| 316 | public toJSON() { |
| 317 | return { id: this.id } |
| 318 | } |
| 319 | } |
| 320 | const filmOverrideToJson = FilmModelExtendToJson.build(); |
| 321 | |
| 322 | const result = film.toJSON(); |
nothing calls this directly
no outgoing calls
no test coverage detected