# Typescript

> TypeScript configuration, strict mode, generics, and type utilities.

- Skill: `a5c-ai/typescript` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add a5c-ai/typescript`
- Raw SKILL.md: https://api.skillmd.com/api/skills/a5c-ai/typescript/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: a5c-ai (https://skillmd.com/u/a5c-ai)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/a5c-ai/typescript

---


# TypeScript Skill

Expert assistance for TypeScript configuration and patterns.

## Capabilities

- Configure tsconfig
- Implement strict typing
- Create utility types
- Handle generics
- Design type-safe APIs

## Configuration

```json
// tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "exactOptionalPropertyTypes": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "moduleResolution": "bundler",
    "esModuleInterop": true,
    "skipLibCheck": true
  }
}
```

## Utility Types

```typescript
// Extract, Omit, Pick
type UserWithoutPassword = Omit<User, 'password'>;

// Conditional types
type NonNullable<T> = T extends null | undefined ? never : T;

// Mapped types
type Readonly<T> = { readonly [P in keyof T]: T[P] };
```

## Target Processes

- typescript-setup
- type-safety
- api-design

