Created
May 19, 2016 04:04
-
-
Save RikkiGibson/96a80dc56ec2443f6ade7575a311182e 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
interface Point { | |
row: number | |
column: number | |
someOtherShitThatAtomUses: idk | |
color: string | |
} | |
var doStuffWithPoint(point: { row: number, column: number}) { | |
... | |
} | |
var myPoint: Point = ... | |
doStuffWithPoint({ row: 10, column: 20}) | |
doStuffWithPoint(myPoint) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment