Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We've been using TypeScript with Angular 1 projects for almost a year now and have really been enjoying it. Having it integrated directly into the framework is a great improvement for my team, at least.


When using Typescript with Angular 1 where you able to make use of TS types and type checking?

Want to give this a try :-)

Thanks


Yes. You just include a "type definition file" for Angular in your project. There is a very large existing repository of type definitions for popular JS libraries in the DefinitelyTyped project.

https://github.com/DefinitelyTyped/DefinitelyTyped




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: