switcher[key] = 2; // Nope! TypeScript gets to the possible assignable values by doing an intersection type of all property types. This means ...
確定! 回上一頁