Angular5.1 and more available
We are pleased to announce the release of Angular5.1. This is a small release containing several minor features and bug fixes. We also released version 1.6 of Angular Cli and the first stable release of Angular Material. For a complete list of features and bug fixes, see Angular, Material, and the CLI's...
Console. log(typeof typescript === 'javascript'
Write a summary of learning typescript and try to write something of your own to look at typescript from a front-end development perspective (2020, it's not new, it's old). First, what is typescript? Well, it's not a thing. It's a JS-BASED extension language that puts more emphasis on data types in...
Why is it so hard to calculate 2-1 = 1 in TypeScript?
Today when LEARNING TypeScript, I was baffled by a seemingly simple type problem. The problem is very short, but why is it so hard to write?!!
Skeleton screen optimization - Implementation of fine-grained patterns
Silent student is the owner of our DevUI open source component library. Since joining the DevUI open source organization in September 2021, she has been continuously contributing codes to Skeleton/Table/Avatar and other components, and has submitted codes in total
Named parameters, optional parameters, default parameters in TypeScript
For some function more complex function, need a lot of configuration items as parameters into the, at this time the location of the traditional argument list is not too convenient, because the configuration parameters, we tend to set the default value, hope that users don't need to in order to all parameters, and as long as to which several parameters need special configuration. Let's look at JavaScript first. In fact, many JavaScr...
Angular 4.x Path to immortality
Recently I answered some questions in SF and QQ group, and found that some questions are likely to be encountered by beginners. I don't have enough time, so I would like to create a group and record every problem you encounter into an Angular FAQ. Ionic 2 is required for our work. In order to conveniently record learning materials, I compiled an Angula...
How does TypeScript work in React
This article focuses on how TS is used in React, not on the grammar of TS. Many JS libraries do not have their own TypeScript declaration files
TypeScript is quick to get started
Make writing a habit together! This is my first day to participate in the "Gold Digging Day New Plan · April More text challenge", click to see the details of the activity. I wanted to write a short, concise how-to on TypeScript that would get people to the core of TypeScript
TypeScript Learning Notes (5) - Interfaces
In TypeScript, we use Interfaces to define the types of objects. Interfaces are an important concept in object-oriented languages. They are an abstraction of behavior, and that behavior needs to be implemented by classes. Define an interface Person, and then...
A sequel to the study of intelligent hints and validation of interfaces based on TypeScript and Swagger backend documents
This article continues to explore the possibilities of hinting and validating interface parameters through typescript generics and uniform interface types.