TypeScript Programming: Learn and Practice with Exercises
What is TypeScript?
TypeScript is a free and open-source high-level programming language developed by Microsoft that adds static typing with optional type annotations to JavaScript. It is designed for large applications and transpiles to JavaScript. Because TypeScript is a superset of JavaScript, all JavaScript programs are syntactically valid with TypeScript, but they can fail to type-check for safety reasons. TypeScript may be used to develop JavaScript applications for both client-side and server-side execution (as with Node.js or Deno).
The best way to learn is through practice and exercise questions. We have started this section for those (beginner to intermediate) familiar with C programming.
Hope these exercises help you to improve your TypScript programming skills. Currently, following sections are available, we are working hard to add more exercises. Happy Coding!
List of TypeScript Exercises:
- TypeScript Basic [ 10 Exercises with Solution ]
- TypeScript Advance Types [ 13 Exercises with Solution ]
- TypeScript Classes and Object-Oriented Programming [ 24 Exercises with Solution ]
- TypeScript Modules and Namespaces [ 9 Exercises with Solution ]
- Advanced Topics:
- TypeScript Error Handling [ 12 Exercises with Solution ]
- Asynchronous Programming
- TypeScript and the DOM
- Tooling and Configuration
- Testing in TypeScript
- Best Practices and Patterns
- Frameworks and Libraries
- TypeScript and JavaScript Interoperability
- TypeScript and Webpack
- TypeScript and API Integration
- TypeScript and Databases
- Advanced TypeScript Concepts
- Project-Based Exercises
More to Come !
Do not submit any solution of the above exercises at here, if you want to contribute go to the appropriate exercise page.
[ Want to contribute to TypeScript exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/typescript-exercises/index.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics