Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. interface GetNewsListQuery {
  2.     listNewsPosts: {
  3.         cursorAfter: string | null,
  4.         items: {
  5.         id: string,
  6.         slug: string,
  7.         }[]
  8.     }
  9. }
  10.  
  11. type B = GetNewsListQuery['listNewsPosts']['items'][0];
  12. let T: B = {
  13.     id: 'adsfads',
  14.     slug: 'adsfasdf'
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement