Zack Pouget

TypeScript

TypeScript has become an essential part of my development process. It enhances JavaScript with strong typing, interfaces, and modern tooling support, making my codebase more predictable, scalable, and easier to maintain. Whether working in React or Svelte, TypeScript helps me catch errors early and write clearer, more reliable code.

Key Skills

Example Code

Here's an example of how 's type system can help enforce structure and improve reliability while maintaining flexibility.

type User = {
  id: number;
  name: string;
  email?: string; // Optional property
};

function greetUser(user: User): string {
  return `Hello, ${user.name}!`;
}

// Example usage
const zack: User = { id: 1, name: "Zack Pouget" };
console.log(greetUser(zack));