# typescript > When writing TypeScript code: - Author: Daphen - Repository: daphen/arch-dotfiles - Version: 20260206152824 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/daphen/arch-dotfiles - Web: https://mule.run/skillshub/@@daphen/arch-dotfiles~typescript:20260206152824 --- # TypeScript Skill When writing TypeScript code: - Use explicit type annotations for function parameters and return types - Prefer `interface` over `type` for object shapes - Use `const` assertions where appropriate - Avoid `any` - use `unknown` if type is truly unknown - Use strict null checks