JIYIK CN >

Current Location:Home > Learning > PROGRAM > TypeScript >

All

React event types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

In React, you often need to listen to event listeners that are triggered due to certain operations on certain HTML elements. TypeScript has strong typing support for all events triggered due to certain operations on HTML elements, such as t...

Full

React UseState Hook Types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article will demonstrate the use of React hooks in TypeScript useState . React useState hook definition React useState hooks play an important role when using functional components, from storing temporary data to receiving data from AP...

Full

Nullable types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

In recent TypeScript versions, null and undefined are not readable. However, newer versions support this. This tutorial will discuss the concept of nullable types in TypeScript. Nullable types in TypeScript null Users must turn off type che...

Full

Declaration or statement expected error in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article explains Declaration or statement expected the error in JavaScript or TypeScript and why the compiler throws this error. All the major causes of this error will be discussed, and how to avoid it in the developer community. 预期...

Full

Sleeping in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

When implementing business logic, you often need to add a delay to a function or sleep for a while waiting for an API call. This article will discuss different ways and concepts of sleeping threads in TypeScript. Using blocking to sleep thr...

Full

Integer types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

In TypeScript , there is no concept of integer data types like in other programming languages. Usually, only number type is used to represent floating point numbers. bigint is the latest version of TypeScript, which represents large integer...

Full

Regular expressions in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

RegExp Is a regular expression used to match a fixed set of characters in a target string using TypeScript. RegExp Objects have many properties and methods. Each property has different options when pattern matching. Using regular expression...

Full

Dictionary or map type in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

Dictionaries or maps are used to quickly retrieve items from an object. TypeScript does not have any concept of maps or dictionaries. Plain JavaScript has objects that can set and retrieve key-value pairs. TypeScript provides Record types t...

Full

Function return types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

TypeScript is a strongly typed language and it is always encouraged to define the types correctly for all variables used in TypeScript. These types can help in development later, especially during debugging. In addition to variables, functi...

Full

exclude attribute in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article will discuss excluding properties from a TypeScript type. The exclude property is used to create another type from an existing type with fewer or modified properties. Omit Exclude properties from types in TypeScript TypeScript...

Full

Checking for undefined in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

Checking for undefined in TypeScript

This article will demonstrate how programmers can check for undefined in TypeScript using various coding examples and situations. It not only gives you an understanding of checking for undefined in TypeScript, but also helps in differentiat...

Full

Using jQuery and TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article provides the basic understanding and concepts of using jQuery with TypeScript. It guides on how to use jQuery in TypeScript through a coding example and outputs using various methods in TypeScript and provides knowledge about w...

Full

Update TypeScript to the latest version using NPM

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article provides a guide to update to the latest version of TypeScript using npm, which is the best and most popular method used by developers. This also gives us an in-depth look at what npm is and why to use it. Node Package Manager...

Full

Convert JSON object to a class in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

Data on the internet flows in the form of strings, which can be converted into a very popular format called JSON. The JSON representation of this data usually represents an object or even a class in TypeScript. TypeScript provides the abili...

Full

Handling exceptions with try..catch..finally in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article will discuss try..catch..finally handling exceptions in TypeScript using the statement. Handling exceptions in TypeScript In TypeScript, try..catch..finally a block handles exceptions that occur during program runtime. It allow...

Full
  • Total 1 page/ 15 records

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial