TYPESCRIPT-TYPE-ASSERTION
1 article tagged with "typescript-type-assertion"
- TypeScript 筆記 - Type Assertion(型別斷言)2024-04-19
Type assertion 用來告訴 TypeScript 某個 value 或 variable 是某個更具體的型別。
1 article tagged with "typescript-type-assertion"
Type assertion 用來告訴 TypeScript 某個 value 或 variable 是某個更具體的型別。