From 0a5ccf9c684a470b16fe1a81a472e1c05955992b Mon Sep 17 00:00:00 2001 From: Andrea Bianchi Date: Mon, 9 Mar 2026 09:24:40 +0900 Subject: [PATCH] Updated exercise --- .gitignore | 1 + w2_1_types/main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7251ace..e3e9a71 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules **/.DS_Store todo/** _*.js +solution-*.js \ No newline at end of file diff --git a/w2_1_types/main.js b/w2_1_types/main.js index 2cd0141..8ef4334 100644 --- a/w2_1_types/main.js +++ b/w2_1_types/main.js @@ -1,10 +1,10 @@ // Types and conversions +// !@ts-check // Ex 1 (implicit convertion) // Compute the time in seconds function timeInSeconds(hours, mins, secs) { // placeholder - // return (hours * 60 + mins) * 60 + secs; } console.log('Ex 1');