Created
May 18, 2018 23:37
-
-
Save kfarst/c121ed03bc31aa45efc2b275eff87d07 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
// @flow | |
type MyObject = { | |
foo: number, | |
bar: boolean, | |
baz: string, | |
}; | |
var val: MyObject = { /* ... */ }; | |
function method(val: MyObject) { /* ... */ } | |
class Foo { constructor(val: MyObject) { /* ... */ } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment