Created
March 8, 2018 17:50
-
-
Save ajcrites/4a01486055dd2021e98a0e84d14954b9 to your computer and use it in GitHub Desktop.
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
interface Foo { | |
foo: string; | |
} | |
const fn = () => ({ | |
foo: 'bar', | |
bar: 'baz', | |
}); | |
const fooImpl: Foo = fn(); | |
fooImpl.bar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment