typescript-v6
Installation
SKILL.md
Skill: typescript
Scope
- Applies to: TypeScript 6.0+ type system features, type-safe APIs, complex domain models, inference, compile-time guarantees
- Does NOT cover: Basic syntax, framework-specific patterns, runtime validation (use Zod separately)
Assumptions
- Folder major tracks
package.jsontypescript(this repo:@typescript/typescript6^6), notnpm view typescript(may already be 7) - 6.0 is the last JavaScript-based compiler; 7.0 is native (Go).
@typescript/nativemay sit besidetsc; it is not this skill’s major - Strict mode (
"strict": true) - Target ES2020+ (6.0 defaults trend toward
esnext/es2025) - Options deprecated in 6.0 can be ignored with
"ignoreDeprecations": "6.0"until 7.0 removes them. Prefer fixing deprecations: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/