A brief understanding of Typescript.
TypeScript is an open-source, object-oriented language developed and maintained by Microsoft, licensed under Apache 2 license.expoundsofttechsolution
Features of TypeScript:
- Static type-checking: TypeScript uses static typing. This is done using type annotations. It helps type checking at compile time. Thus, you can find errors while typing the code without running your script each time. Additionally, using the type inference mechanism, if a variable is declared without a type, it will be inferred based on its value.
Why use TypeScript?
The type system increases the code quality, readability and makes it easy to maintain and refactor the codebase. More importantly, errors can be caught at compile time rather than at runtime.
So, thanks for following this blog, and if you need any help please leave your queries in the comment box we will be happy to help you.>a-brief-understanding-of-typescript