I implemented the gyroscope from https://github.com/NeoLSN/cordova-plugin-gyroscope and then, when i imported it as an Angular i got
Cannot find name \'constructor\'.