freelyformd / github-todos

MVP: Analyse a repo's code for TODOs and FixMe comments & make github issues out of them
ISC License
3 stars 0 forks source link

API Function for adding an issue with comments to a repo #24

Closed epicallan closed 5 years ago

epicallan commented 5 years ago

Say you have a set of issues of below type

type Body = string;
type Title = string;

interface Issue { 
   title:  title;
   body: Body;
};

write a function that can add a list of issues to a repository. Write in file lib/github/addIssueToRepo.ts