Last active
May 30, 2022 20:25
-
-
Save mcsee/2fd1605ce5b27e5c6db52c4e8482b4bc to your computer and use it in GitHub Desktop.
This file contains 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
<? | |
class Polygon { | |
function getVertices(): Collection { // Wrong | |
// ... | |
} | |
function vertices(): Collection { // Right | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment