(post: Pick<Post, 'type'>)
| 2 | import { PostType } from '../../../graphql/posts'; |
| 3 | |
| 4 | export const isExternalPost = (post: Pick<Post, 'type'>): boolean => |
| 5 | post.type === PostType.Article || |
| 6 | post.type === PostType.VideoYouTube || |
| 7 | post.type === PostType.SocialTwitter; |
no outgoing calls
no test coverage detected