(text: string)
| 255 | } |
| 256 | |
| 257 | export function renderMarkdown(text: string) { |
| 258 | const body = JSON.stringify({ text, mode: 'gfm', context: `${owner}/${repo}` }); |
| 259 | return githubFetch(githubRequest('markdown', { method: 'POST', body })) |
| 260 | .then(response => response.text()); |
| 261 | } |
| 262 | |
| 263 | interface IssueSearchResponse { |
| 264 | total_count: number; |
no test coverage detected