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');