From 9e1b78ef706685d015d7b4ad5fa508d5737c6e4c Mon Sep 17 00:00:00 2001 From: Ben Hemann Date: Fri, 4 Jun 2021 16:42:49 -0500 Subject: [PATCH] added first comment --- TypeScript/app/gilded-rose.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TypeScript/app/gilded-rose.ts b/TypeScript/app/gilded-rose.ts index 553b2f47..2e05d03f 100644 --- a/TypeScript/app/gilded-rose.ts +++ b/TypeScript/app/gilded-rose.ts @@ -1,3 +1,4 @@ +// class to create items with name, sell by date, and quality export class Item { name: string; sellIn: number; @@ -63,7 +64,7 @@ export class GildedRose { } } } - console.log(this.items); + return this.items; } }