3 ms·
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
by softinio 11y ago
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
- joshuacc 11y agoYes. 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 https://github.com/DefinitelyTyped/DefinitelyTyped