title: Typescript Error Cannot find name 'cordova'
body: <p>I am using ionic3 right now, there is no declaration.d.ts file in ionic3. So i couldn't declare cordova in that file. Can anyone help to solve the problem in ionic3 way? Thank you so much!</p>
  
  <pre><code>import { Component } from '@angular/core';
  import { NavController } from 'ionic-angular';
  
  import { Platform } from 'ionic-angular';
  
  @Component({
    selector: 'page-home',
    templateUrl: 'home.html'
  })
  export class HomePage {
    /*Cordova add */
    wikitudePlugin: any;
    requiredFeatures = [ "2d_tracking", "geo" ];
  
    constructor(public navCtrl: NavController, public platform: Platform) {
      platform.ready().then(() =&gt; {
        this.wikitudePlugin = cordova.require("com.wikitude.phonegap.WikitudePlugin.WikitudePlugin");
        this.wikitudePlugin.isDeviceSupported(this.onDeviceSupported, this.onDeviceNotSupported, this.requiredFeatures);
        console.log('The wikitude object: ', this.wikitudePlugin);
        console.log('The wikitude test method: ',this.wikitudePlugin.isDeviceSupported);
      });
    }
    onDeviceSupported () {
      console.log('device supported');
    }
  
    onDeviceNotSupported () {
      console.log('device not supported');
    }
  }
  </code></pre>