initial commit

This commit is contained in:
2026-01-27 09:55:09 -05:00
commit c2f08e9140
9 changed files with 353 additions and 0 deletions

24
test_data/test.ts Normal file
View File

@@ -0,0 +1,24 @@
interface Person {
name: string;
age: number;
email: string;
}
function greet(person: Person): string {
return `Hello, ${person.name}! You are ${person.age} years old.`;
}
const user: Person = {
name: "Alice",
age: 30,
email: "alice@example.com",
};
console.log(greet(user));
console.log(`Email: ${user.email}`);
function calculateSum(a: number, b: number): number {
return a + b;
}
console.log(`Sum of 5 and 10 is: ${calculateSum(5, 10)}`);