In this post we will discuss about TypeScript for SharePoint 2013. Read some SharePoint tutorials
Yes, Script# works very well… unless you must use some existing JS libraries. In this case, you need definitions that would contain information about types of variables, parameters, methods, etc. Unfortunately, no Script# definitions for SharePoint is available. And creating them by hand is a very tedious work, trust me. But wait, if SharePoint JSOM is written in Script#,
Support of TypeScript is broad, community is passionate, and TypeScript definitions for many and many JS libraries have already been created. The biggest collection of them (DefinitelyTyped project) includes definitions for 130 different libraries!!
In sum, TypeScript is definitely promising. And even better, now you can use it with SharePoint!
Currently, we have the following things covered:
1. Client Side Object Model (CSOM) core classes
2. Social object library
3. SharePoint Client Side Rendering (CSR)
5. SharePoint UI elements:
SP.UI.ApplicationPages – some useful stuff here nobody knows about e.g. ClientPeoplePickerWebServiceInterface!
6. SharePoint Search
7. Business Connectivity Services
8. SharePoint Managed Metadata
Project also includes many examples written in TypeScript and a couple of extensions. Please, visit the project site on CodePlex to find out more.
Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.