{"action":"created","comment":{"url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments/140991275","pull_request_review_id":65138375,"id":140991275,"diff_hunk":"@@ -1,11 +1,27 @@\n // Iteration 1\n // 1. Create an array of strings\n+let TodoList: Array<string> = [];\n \n // 2. Create a function to add a task in to the array, call it `addTask`, the function has to accept a string and don't have to return anything.\n+function addTask(task:string) {\n+  TodoList.push(task)\n+  console.log(\"Task added!\");\n+  return TodoList.length;\n+}\n \n // 3. Create a function to list all tasks, it must show in the console de task.\n+function listAllTasks() {\n+  for (var i = 0; i <TodoList.length; i++){\n+    console.log(TodoList[i]);\n+  }\n+}\n \n // 4. Create a function to delete a task, you must find the task inside the array and delete it.\n+function deleteTask(task) {","path":"starter-code/iteration-1/main.ts","position":20,"original_position":20,"commit_id":"ec403a4e3b346f72c7479677bcfd77a4c63569fd","original_commit_id":"ec403a4e3b346f72c7479677bcfd77a4c63569fd","user":{"login":"tawebbcn","id":26812171,"avatar_url":"https://avatars2.githubusercontent.com/u/26812171?v=4","gravatar_id":"","url":"https://api.github.com/users/tawebbcn","html_url":"https://github.com/tawebbcn","followers_url":"https://api.github.com/users/tawebbcn/followers","following_url":"https://api.github.com/users/tawebbcn/following{/other_user}","gists_url":"https://api.github.com/users/tawebbcn/gists{/gist_id}","starred_url":"https://api.github.com/users/tawebbcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tawebbcn/subscriptions","organizations_url":"https://api.github.com/users/tawebbcn/orgs","repos_url":"https://api.github.com/users/tawebbcn/repos","events_url":"https://api.github.com/users/tawebbcn/events{/privacy}","received_events_url":"https://api.github.com/users/tawebbcn/received_events","type":"User","site_admin":false},"body":"`function deleteTask (task: string): number {\r\n`\r\nremember the types! ","created_at":"2017-09-26T08:42:04Z","updated_at":"2017-09-26T08:52:26Z","html_url":"https://github.com/ironhack-labs/lab-typescript/pull/89#discussion_r140991275","pull_request_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments/140991275"},"html":{"href":"https://github.com/ironhack-labs/lab-typescript/pull/89#discussion_r140991275"},"pull_request":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89","id":142938477,"html_url":"https://github.com/ironhack-labs/lab-typescript/pull/89","diff_url":"https://github.com/ironhack-labs/lab-typescript/pull/89.diff","patch_url":"https://github.com/ironhack-labs/lab-typescript/pull/89.patch","issue_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/89","number":89,"state":"open","locked":false,"title":"BCN - Will & Jennie PP","user":{"login":"JennieDalgren","id":18549785,"avatar_url":"https://avatars2.githubusercontent.com/u/18549785?v=4","gravatar_id":"","url":"https://api.github.com/users/JennieDalgren","html_url":"https://github.com/JennieDalgren","followers_url":"https://api.github.com/users/JennieDalgren/followers","following_url":"https://api.github.com/users/JennieDalgren/following{/other_user}","gists_url":"https://api.github.com/users/JennieDalgren/gists{/gist_id}","starred_url":"https://api.github.com/users/JennieDalgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JennieDalgren/subscriptions","organizations_url":"https://api.github.com/users/JennieDalgren/orgs","repos_url":"https://api.github.com/users/JennieDalgren/repos","events_url":"https://api.github.com/users/JennieDalgren/events{/privacy}","received_events_url":"https://api.github.com/users/JennieDalgren/received_events","type":"User","site_admin":false},"body":"@willjthorp","created_at":"2017-09-25T17:20:05Z","updated_at":"2017-09-26T08:52:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db84a5396f438d9bf4ab8243879680a738234788","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89/commits","review_comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89/comments","review_comment_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/89/comments","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/ec403a4e3b346f72c7479677bcfd77a4c63569fd","head":{"label":"JennieDalgren:master","ref":"master","sha":"ec403a4e3b346f72c7479677bcfd77a4c63569fd","user":{"login":"JennieDalgren","id":18549785,"avatar_url":"https://avatars2.githubusercontent.com/u/18549785?v=4","gravatar_id":"","url":"https://api.github.com/users/JennieDalgren","html_url":"https://github.com/JennieDalgren","followers_url":"https://api.github.com/users/JennieDalgren/followers","following_url":"https://api.github.com/users/JennieDalgren/following{/other_user}","gists_url":"https://api.github.com/users/JennieDalgren/gists{/gist_id}","starred_url":"https://api.github.com/users/JennieDalgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JennieDalgren/subscriptions","organizations_url":"https://api.github.com/users/JennieDalgren/orgs","repos_url":"https://api.github.com/users/JennieDalgren/repos","events_url":"https://api.github.com/users/JennieDalgren/events{/privacy}","received_events_url":"https://api.github.com/users/JennieDalgren/received_events","type":"User","site_admin":false},"repo":{"id":104765707,"name":"lab-typescript","full_name":"JennieDalgren/lab-typescript","owner":{"login":"JennieDalgren","id":18549785,"avatar_url":"https://avatars2.githubusercontent.com/u/18549785?v=4","gravatar_id":"","url":"https://api.github.com/users/JennieDalgren","html_url":"https://github.com/JennieDalgren","followers_url":"https://api.github.com/users/JennieDalgren/followers","following_url":"https://api.github.com/users/JennieDalgren/following{/other_user}","gists_url":"https://api.github.com/users/JennieDalgren/gists{/gist_id}","starred_url":"https://api.github.com/users/JennieDalgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JennieDalgren/subscriptions","organizations_url":"https://api.github.com/users/JennieDalgren/orgs","repos_url":"https://api.github.com/users/JennieDalgren/repos","events_url":"https://api.github.com/users/JennieDalgren/events{/privacy}","received_events_url":"https://api.github.com/users/JennieDalgren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JennieDalgren/lab-typescript","description":null,"fork":true,"url":"https://api.github.com/repos/JennieDalgren/lab-typescript","forks_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/forks","keys_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/teams","hooks_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/hooks","issue_events_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/events","assignees_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/tags","blobs_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/languages","stargazers_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/stargazers","contributors_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/contributors","subscribers_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/subscribers","subscription_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/subscription","commits_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/merges","archive_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/downloads","issues_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/labels{/name}","releases_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/JennieDalgren/lab-typescript/deployments","created_at":"2017-09-25T15:08:42Z","updated_at":"2017-09-25T15:08:44Z","pushed_at":"2017-09-25T17:19:31Z","git_url":"git://github.com/JennieDalgren/lab-typescript.git","ssh_url":"git@github.com:JennieDalgren/lab-typescript.git","clone_url":"https://github.com/JennieDalgren/lab-typescript.git","svn_url":"https://github.com/JennieDalgren/lab-typescript","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ironhack-labs:master","ref":"master","sha":"d7d164a56fd9d9996a8ca67beb716f708fd4ac1d","user":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":83300791,"name":"lab-typescript","full_name":"ironhack-labs/lab-typescript","owner":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ironhack-labs/lab-typescript","description":null,"fork":false,"url":"https://api.github.com/repos/ironhack-labs/lab-typescript","forks_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/forks","keys_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/teams","hooks_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/hooks","issue_events_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/events","assignees_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/tags","blobs_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/languages","stargazers_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/stargazers","contributors_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/contributors","subscribers_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/subscribers","subscription_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/subscription","commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/merges","archive_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/downloads","issues_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/labels{/name}","releases_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/deployments","created_at":"2017-02-27T11:02:41Z","updated_at":"2017-02-27T11:03:04Z","pushed_at":"2017-09-25T21:35:47Z","git_url":"git://github.com/ironhack-labs/lab-typescript.git","ssh_url":"git@github.com:ironhack-labs/lab-typescript.git","clone_url":"https://github.com/ironhack-labs/lab-typescript.git","svn_url":"https://github.com/ironhack-labs/lab-typescript","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":171,"mirror_url":null,"open_issues_count":21,"forks":171,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89"},"html":{"href":"https://github.com/ironhack-labs/lab-typescript/pull/89"},"issue":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/89"},"comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/ec403a4e3b346f72c7479677bcfd77a4c63569fd"}},"author_association":"NONE"}}
{"actor":{"display_login":"tawebbcn"}}