Rushi Javiya has Published 170 Articles

How to remove Time from Date TypeScript?

Rushi Javiya

Rushi Javiya

Updated on 04-Sep-2023 11:56:42

7K+ Views

When working with date objects in TypeScript, sometimes it's necessary to extract only the date and remove the time component from it. This can be useful when displaying dates in a user interface or comparing dates. In this tutorial, we will explore several ways to remove time from date in ... Read More

Any and Object in Typescript

Rushi Javiya

Rushi Javiya

Updated on 04-Sep-2023 11:46:21

2K+ Views

TypeScript is a powerful, statically typed superset of JavaScript that brings additional features and advantages to JavaScript development. Two commonly used types in TypeScript are any and object. In this tutorial, we will delve into the concepts of any and object in TypeScript and explore how they can be used ... Read More

Show Data Using Text Box in TypeScript

Rushi Javiya

Rushi Javiya

Updated on 04-Sep-2023 10:37:29

1K+ Views

Data representation is crucial in software development, and it is essential to present data in a user-friendly way with the increasing demand for web-based applications. Text boxes are one of the ways to do so. Text boxes provide an easy way to display data to users in a structured and ... Read More

Why You Should Use TypeScript for Developing Web Applications?

Rushi Javiya

Rushi Javiya

Updated on 04-Sep-2023 10:35:03

56 Views

TypeScript is a superset of JavaScript that includes all the features of JavaScript and more. It provides additional features like static typing, interfaces, classes, and modules to help developers write more robust and maintainable code. In this article, we will discuss why you should use TypeScript for developing web applications ... Read More

How to Use Lambda Expression in TypeScript?

Rushi Javiya

Rushi Javiya

Updated on 04-Sep-2023 10:32:03

2K+ Views

Lambda expressions offer a succinct and expressive means of defining functions in TypeScript and are versatile enough to be utilized as class methods, object properties, and callbacks in higher-order functions. This tutorial aims to delve into the syntax of lambda expressions, highlight their advantages over conventional functions, and provide guidance ... Read More

How to add constraints to the generic types?

Rushi Javiya

Rushi Javiya

Updated on 22-Aug-2023 12:06:11

206 Views

TypeScript is an open-source programming language that provides type annotations to JavaScript. TypeScript has generic types that enable developers to write code that can work with different data types. Generics provide flexibility and reusability in code. However, in some cases, it is necessary to add constraints to generic types to ... Read More

TypeScript - Implicit Typing

Rushi Javiya

Rushi Javiya

Updated on 22-Aug-2023 12:03:20

418 Views

TypeScript is a statically typed programming language that is a superset of JavaScript. It is used for large-scale web applications that require strict typing, object-oriented programming concepts, and code reusability. One of the most important features of TypeScript is the ability to infer types automatically. This feature is known as ... Read More

Type Annotations in TypeScript

Rushi Javiya

Rushi Javiya

Updated on 22-Aug-2023 11:19:49

378 Views

TypeScript is a superset of JavaScript that adds optional static typing to the language. This means that TypeScript allows developers to specify the types of variables, function parameters, and function return values. This feature helps to catch errors early in the development process and makes the code more robust. In ... Read More

How to fix property not existing on EventTarget in TypeScript?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 19:52:01

4K+ Views

TypeScript is an open-source language that provides optional static typing for JavaScript. It allows developers to write more maintainable code by catching type-related errors at compile-time rather than runtime. However, working with event listeners in TypeScript can be a bit tricky. One common issue is the "property not existing on ... Read More

How TypeScript works internally?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 16:35:22

207 Views

TypeScript is a strongly-typed programming language that builds upon the syntax of JavaScript. It was created by Microsoft and was released in 2012. TypeScript is designed to make large-scale JavaScript applications more manageable and easier to maintain by adding features such as type annotations, interfaces, and classes. In this article, ... Read More

Advertisements