Can this definition used in a sharepoint hosted app


If yes, how can I do it?

I put them in my Scripts folder. But when compiling I get many errors. In your sample project I get this errors too (for example: Initializers are not allowed in ambient contexts.)

What did I wrong?
Closed Jul 15, 2013 at 12:14 PM by gandjustas


gandjustas wrote Jul 2, 2013 at 11:10 PM

You are using TypeScript 0.9, but first release was built with TypeScript 0.8 and not compatible with latest version.

Release for TS 0.9 coming soon. For now you can get latest version of definitions from source control, it works with TS 0.9.

gandjustas wrote Jul 15, 2013 at 12:13 PM

Fixed in Release 1.1