typescript
Installation
SKILL.md
Types and Type Safety
BAD: Using any defeats the type system.
function processData(data: any) {
return data.value.toUpperCase();
}
GOOD: Define explicit types or use generics.
interface DataWithValue {
value: string;
}