( post: Pick<Post, 'type'> | undefined | null, )
| 59 | post?.sharedPost?.type === PostType.VideoYouTube); |
| 60 | |
| 61 | export const isSocialTwitterPost = ( |
| 62 | post: Pick<Post, 'type'> | undefined | null, |
| 63 | ): boolean => post?.type === PostType.SocialTwitter; |
| 64 | |
| 65 | export const isSocialTwitterShareLike = ( |
| 66 | post: Pick<Post, 'type' | 'subType' | 'sharedPost'> | undefined | null, |
no outgoing calls
no test coverage detected