typescript - TypeScript Strict Patterns and Best Practices Implementation
Implement and refactor TypeScript code with strict patterns and best practices in .ts/.tsx files
Tags
Updated: 2026-02-15Capabilities
What this skill does
- create const object types
- extract types from const objects
- write flat interfaces
- create type guards
- use TypeScript utility types
- remove any usage
- tighten unknown types
- implement generics
- import type declarations
Inputs
- TypeScript files (.ts/.tsx)
- existing type definitions
- source code with types/interfaces
Outputs
- refactored TypeScript code
- strict type definitions
- type-safe interfaces
- const object patterns
- type guard functions
Requirements
- TypeScript project
- access to .ts/.tsx files
- permission to edit code
