TypeScript with Sitecore JSS in less than 30 minutes

Hello friends,

Since you’re here, I assume you’d like to enable TypeScript with the Sitecore JSS application. It’s easy and simple.

We can say that ‘TypeScript is like JavaScript, but with types.’ It helps make our code easier to read and avoid errors that could become debugging nightmares.

Here are a few of the advantages of TypeScript:

  • Great tooling support with IntelliSense
  • The ability to compile down to a version of JavaScript that runs on all browsers
  • Typescript is purely object-oriented programming which means it is a programming paradigm based on the concepts of objects.
  • One of the biggest advantages of Typescript is its code completion and intelligence.

In order to enable TypeScript with Sitecore JSS application, see the video tutorials below:

TypeScript with Sitecore JSS – Part – 1:

TypeScript with Sitecore JSS – Part – 2:

To stay updated, like and subscribe to my YouTube channel for more Sitecore tutorials.

[Source references]:

While creating my videos, I referenced two good blog posts from the Sitecore community:

Happy Coding!