| 218 | const film = FilmModelToJson.build(); |
| 219 | |
| 220 | class FilmModelExtendToJson extends Model<FilmToJson> implements FilmToJson { |
| 221 | id!: number; |
| 222 | name?: string; |
| 223 | |
| 224 | public toJSON() { |
| 225 | return { id: this.id } |
| 226 | } |
| 227 | } |
| 228 | const filmOverrideToJson = FilmModelExtendToJson.build(); |
| 229 | |
| 230 | const result = film.toJSON(); |
nothing calls this directly
no outgoing calls
no test coverage detected