typescript

Solid

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

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
44
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills