Skip to content

Instantly share code, notes, and snippets.

View nafiskabbo's full-sized avatar

nafiskabbo

View GitHub Profile
@nafiskabbo
nafiskabbo / typescript-7-migration.md
Created July 8, 2026 18:34
TypeScript 6.x to 7.0 Migration Guide - Agent Guide

TypeScript 7.0 Migration Guide (Go-Native Compiler)

Status as of this writing (July 2026): TypeScript 7.0 is stable / generally available. It shipped as a Release Candidate on June 18, 2026, and Microsoft has now published the full "Announcing TypeScript 7.0" stable release. This guide reflects the stable release, not the RC. If you're reading this much later, sanity-check version numbers against https://devblogs.microsoft.com/typescript/ before running anything.

This doc is written so an AI coding agent (or a human) can follow it step-by-step to migrate a repo from TypeScript 6.x to TypeScript 7.0. Copy the "Agent Instructions"

@privatenumber
privatenumber / typescript-v5-to-v6.md
Created February 24, 2026 13:21
TypeScript 5.x to 6.0 Migration Guide

TypeScript 5.x to 6.0 Migration Guide

TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:

Most projects need these tsconfig changes:

{
    "compilerOptions": {
        "types": ["node"],           // @types are no longer auto-discovered (see §1.6)