TypeScript common types
Original link: https://www.iyouhun.com/post-230.html TypeScript is a superset of JS, TS provides all the features of JS, with the addition: type system JS has types (eg, number/string, etc.), but JS doesn’t check if the variable’s type has changed , while TS checks The main advantage of TypeScript’s type system: unexpected behavior in code can be explicitly […]
TypeScript common types Read More »