I have Ionic 2 project in macOS, using Visual Studio Code to edit, and ionic cli command line commands to compile and run it. It was working, fine, but now I want to edit this project in my windows PC, using Visual Studio 2017. For that, I created a new project using Ionic 2 template available in visual studio, and then copied the source code from mac to this new project. I notice one thing: In MacOs, SQLite was referenced throught the following command:
import { SQLite } from '@ionic-native/sqlite';
But visual studio was not recognizing this reference, even after installing sql lite plugin. Visual Studio offer a command to include the import command to me, when I did that, it added the following sentence:
import { SQLite } from "ionic-native/dist/es5";
why are this commands different between mac and pc? I'd like it to be the same, so i could edit the same code in Mac and PC.