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.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: