TypeScript: Signature for '???' duplicated
- Create WinJS Application for Windows 8
- Add Windows 8 javascript library to project
- Add ddts phonegap typescript definition library from https://github.com/borisyankov/DefinitelyTyped
- Add script.ts file to project
- enter
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 problem, but not sure)
- TypeScript
- Web Essentials
+3
source to share