A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [typescript]

TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. All question related to this topic in Sitecore reference, should use this tag.

Filter by
Sorted by
Tagged with
1
vote
1answer
161 views

How does one convert Sitecore JSS React boilerplate to typescript?

Is there a guide of some kind or possibly some helpful information floating around regarding the addition of typescript in a Sitecore JSS react boilerplate project? So far I've only been able to get ...
1
vote
1answer
328 views

Error on typings using JSS Text with Typescript

I'm getting an error on the fields property when using Typescript from this tutorial class Profile extends React.Component<Props, State> { constructor(props: any){ super(props); } ...