| 29 | import { Button } from '../ui/button'; |
| 30 | |
| 31 | interface IProps { |
| 32 | post: ExtendedQuestion | ExtendedAnswer; |
| 33 | sessionUser: Author | undefined | null; |
| 34 | reply?: boolean; |
| 35 | enableLink?: boolean; |
| 36 | isAnswer?: boolean; |
| 37 | questionId: number; |
| 38 | parentAuthorName?: string | null; |
| 39 | } |
| 40 | const isExtendedQuestion = ( |
| 41 | post: ExtendedQuestion | Answer, |
| 42 | ): post is ExtendedQuestion => { |
nothing calls this directly
no outgoing calls
no test coverage detected