TypeScript Advanced Types
Original link: https://www.iyouhun.com/post-231.html Type Compatibility in TS TS Type Compatibility Reference Document Two type systems: 1 Structural Type System 2 Nominal Type System TS uses a structured type system, also known as duck typing, where type checking focuses on the shape of a value That is, in a structural type system, two objects are considered […]
TypeScript Advanced Types Read More »