Commit Graph

10 Commits

Author SHA1 Message Date
Jesper
e21ec0cc5b Use guard in sellInBelow0 2022-04-13 16:35:45 +02:00
Jesper
138ad0daab Move conditional into sellInBelow0 2022-04-13 16:35:03 +02:00
Jesper
2bf8dbde29 Lift side-effects 2022-04-13 16:33:49 +02:00
Jesper
87617c7f25 Simply expressions 2022-04-13 16:32:21 +02:00
Jesper
2cd5a72201 Flatten conditionals in sellInBelow0 2022-04-13 16:31:16 +02:00
Jesper
e734b35f3a Extract sellInBelow0 2022-04-13 16:27:20 +02:00
Jesper
ab6be24de4 Replace loop with .forEach 2022-04-13 16:25:18 +02:00
Anthony Rey
b0f4a15245 Add Jest to TypeScript (and update dependencies) 2021-11-09 18:41:26 +01:00
Tomas Novella
939afa9822
Fix compile error in TS
Without a type annotation, TS expects the argument in the ctor to be a never[], hence "npm test" fails to even start
2018-12-09 09:40:49 +01:00
Paulo Clavijo Esteban
10346b66c8 Added GildedRose for TypeScript 2017-06-30 17:32:04 +01:00