Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface GetNewsListQuery {
- listNewsPosts: {
- cursorAfter: string | null,
- items: {
- id: string,
- slug: string,
- }[]
- }
- }
- type B = GetNewsListQuery['listNewsPosts']['items'][0];
- let T: B = {
- id: 'adsfads',
- slug: 'adsfasdf'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement