Rujan hu
Rujan hu

Reputation: 47

How to use TypeScript in AngularJS

I am new to TypeScript and AngularJS. I understand AngularJS and TypeScript in general when considering them separately, but I do not understand how I would connect the two.

Some front-end frameworks (like Angular 2+ and React) have default tooling to integrate with TypeScript, but I do not see the same for AngularJS.

How would I set up a new AngularJS project to use TypeScript instead of JavaScript?

Upvotes: 2

Views: 3911

Answers (1)

user7656346
user7656346

Reputation:

Angular2

Angular2 is already in typescript. Following the angular2 quick start is the perfect way.

Angular1.x with Typescript

This is a website that I used to follow to upgrade angular1.X from javascript to typescript.

Typescript

Knowledge about typescript is also important.

Upvotes: 3

Related Questions