fix builds

This commit is contained in:
Laura Liberda 2021-02-01 12:15:53 +01:00
parent 3c5867b3da
commit efa01ca43d
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ export enum ENTITY_TYPE {
/** issue, merge request or whatever the fuck you need */
export interface RepoElement {
// type: ENTITY_TYPE;
type: ENTITY_TYPE;
id: string;
title: string;
content: string;

View file

@ -139,7 +139,7 @@ export default class GitHubRepoManager implements RepoManager {
assert(resp.createIssue.issue, 'creating issue failed');
const replicated = resp.createIssue.issue;
return {
type: ENTITY_TYPE.ISSUE,
type: ENTITY_TYPE.ISSUE as const,
id: replicated.number.toString(),
content: replicated.body,
title: replicated.title,