This is my try on the Advent of Code 2022 by using Typescript. I've never used pure Typescript to write scripts for problems like these.
Clone the repository
git clone --depth=1 https://github.com/PalmaAnd/Advent-of-Code-2022.git
cd Advent-of-Code-2022
npm install
To compile the Typescript files and to generate the Javascript files for execution execute the following:
npm run build
node /dist/<name_folder>/<name_file.js>