title: Class incorrectly implements interface 'OnChanges'. Property 'ngOnChanges' is missing in type
body: <p>I basically started using angular 4 and and working with the ngChanges I'm getting this error</p>
  
  <blockquote>
    <p>Class 'GalleryComponent' incorrectly implements interface
    'OnChanges'.Property 'ngOnChanges' is missing in type
    'GalleryComponent'.</p>
  </blockquote>
  
  <p>I don't really know what to do, I know that a class can have multiples interfaces but event using just one it shows the same error</p>
  
  <pre><code>import { Component, OnInit, OnChanges, Input } from '@angular/core';
  import { ImageService } from '../image/shared/image.service';
  
  @Component({
    selector: 'app-gallery',
    templateUrl: './gallery.component.html',
    styleUrls: ['./gallery.component.css']
  })
  
  
  export class GalleryComponent implements OnInit, OnChanges {
  visibleImages: any[] = [];
  
   constructor(private imageService: ImageService) {
    this.visibleImages = this.imageService.getImages();
   }
  
   ngOnInit() {}
  
   OnChanges(){}
  
  }
  </code></pre>
  
  <p>I'll be so thankful if anybody can notice what I'm missing
  thanks in advance</p>