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!

One thought to “TypeScript with Sitecore JSS in less than 30 minutes”

  1. Hi Nikki,

    I am trying to integrate JSS with my sitecore instance but I am facing issue. I am following your youtube video but I was stack in API verification.
    In the verification step(https://jss.sitecore.com/docs/getting-started/app-deployment#step-3-verification) it was throwing the exception like “HTTP Error 403.0 – Sitecore.LayoutService module requires subscription license.”
    we are purchased new jss license even though it throwing same issue. we are using sitecore 9.0.2 and latest jss version

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.