Code:
///<reference path="phonegap.d.ts" />
var x = 1;
Now if you "compile" the script.ts file in VS I get the following error
C:/Program Files (x86)/Microsoft SDKs/TypeScript/lib.d.ts(4551,4):
Signature for 'clearWatch' is duplicated
In my VS 2012 I also have the following extension installed (which may be related to the issue but not sure)
The reason for this is both lib.d.ts and phonegap.d.ts has a method called clearWatch in the Geolocation interface.
I suggest you to comment out this method from phonegap.d.ts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With