Adds gitignore, tsconfig, basic scripts and a ts hello world

This commit is contained in:
albert
2025-07-28 10:18:55 +02:00
parent 16072a656e
commit 5f21982ed9
6 changed files with 270 additions and 1 deletions

5
src/index.js Normal file
View File

@ -0,0 +1,5 @@
"use strict";
const helloFn = (name) => {
return `Hola ${name}`;
};
console.log(helloFn("Mundo"));

7
src/index.ts Normal file
View File

@ -0,0 +1,7 @@
const helloFn = (name: string): string => {
return `Hola ${name}`
};
console.log(helloFn("Mundo"));