This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-11-19T18:05:20.338Z","extensionVersion":"v3.2.0"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////// | |
// 1.1) If you saw something like this during a code review | |
// what would you say and how would you improve it? | |
// (If you don't know Typescript's type system well, pseudo-code it or talk about a typed language you know well.) | |
type Shape = { | |
type: "circle" | "square"; | |
size: number; | |
radius: number; | |
}; |
OlderNewer