TypeScript is nothing but JavaScript and some additional features i.e. ES6 features. It may not be supported in your target browser but the TypeScript compiler can compile the .ts files into ES3, ES4, and ES5 also.
TypeScript takes time to compile the code, So jQuery is faster than typescript. Here you can find why Jquery is better for .net development
TypeScript and jQuery are two different technologies that serve different purposes.
TypeScript is a superset of JavaScript that adds static typing and other features to make it easier to write and maintain large-scale applications. It's often used in modern web development frameworks like Angular or React.
jQuery, on the other hand, is a popular JavaScript library that simplifies HTML document traversal and manipulation, event handling, and AJAX interactions. It's been widely used for a long time but has been losing popularity in recent years as modern web technologies have emerged.
When it comes to using them in Razor pages, it really depends on what you're trying to accomplish. If you're building a complex web application, TypeScript can be a great choice to help manage your codebase and ensure type safety. However, if you're just looking to add some interactivity to your Razor page, jQuery may be a more lightweight and straightforward solution.
TypeScript takes time to compile the code, So jQuery is faster than typescript , Ultimately, the decision between TypeScript and jQuery depends on your specific needs and the requirements of your project.