Arno Chauveau
f35d2e9c84
Introduce improved file structure, move update logic to legacyBehavior class
...
- move item to it’s own file.
- Change tsconfig to use ‘@app’ prefix for imports
- move the logic to the legacy-behavior file, allowing to refactor out
item type by item type
2025-07-24 11:49:26 +02:00
Arno Chauveau
737704e19e
Use Array.prototype.map over a for loop
...
Use Array.prototype.map over a for loop so that we don’t have to use
array indexing all the time.
2025-07-24 10:17:36 +02:00
Arno Chauveau
6445f7f797
Use strict equality operator over loose equality operator
...
Use strict equality operator over loose equality operator because it
is seen as a best practice in the js/ts community.
2025-07-24 10:17:36 +02:00
Arno Chauveau
ba40febb07
Add some comments to code that can't be changed because of requirements
2025-07-24 10:17:36 +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