Guest User

Untitled

a guest
Mar 17th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. interface Foo {
  2. foo: string;
  3. }
  4.  
  5. const fn = () => ({
  6. foo: 'bar',
  7. bar: 'baz',
  8. });
  9.  
  10. const fooImpl: Foo = fn();
  11.  
  12. fooImpl.bar;
Add Comment
Please, Sign In to add comment