Error : connot find name 'ContactField' in ionic 2
<p>I have to save the contact using Ionic2 but when I run the app using cmd I'm getting an error. I have installed <code>cordova-plugin-contacts</code></p>

<p>Here is my code</p>

<pre><code>import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { Contacts} from 'ionic-native';
@Component({
  templateUrl: 'build/pages/contact/user-add/user-add.html',
})
export class UserAddPage {
  name:any;
  number:any
  constructor(private navCtrl: NavController) {
  }
  addcontact(){
    var contact=Contacts.create();
    contact.displayName=this.name;
    contact.nickname=this.name;

    var contactfield=new ContactField();
    contactfield.type="mobile";
    contactfield.value=this.number;
    contactfield.pref=true;

    var numbersection=[];
    numbersection.push(contactfield);
    contact.phoneNumbers=numbersection;

    contact.save().then((data)=&gt;{
      console.log('saved',data);
    },(error)=&gt;{
      console.log('error',error);
    })
  }
}
</code></pre>

<p>After that I'm getting this error </p>

<p><a href="https://i.stack.imgur.com/F87vR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F87vR.jpg" alt="enter image description here"></a></p>