Last Updated: November 21, 2025
Utilities
| Type | Use |
|---|---|
Partial
|
Make props optional |
ReturnType
|
Get return type |
Pick
|
Select props |
Commands
function isString(x: unknown): x is string
Type guard
const conf: Record
Indexable
type Async
= Promise
Alias
Advice
Keep inference friendly, avoid `any`, and use templates for consistency.
💡 Pro Tip:
Leverage utility types to keep declarations DRY.