typescript-go

Staging repo for development of native port of TypeScript

24 articles 25.1k View on GitHub ↗
24 articles
Example Usage of typescript-go with a Simple Go API

Discover example usage of typescript-go to integrate the TypeScript compiler into your Go API. Connect via pipe transport to query symbols, types, and diagnostics programmatically.

getting-started
Apr 25, 2026
TypeScript-Go Dependencies: A Complete Breakdown of the Go Module Stack

Examine the Go module stack for typescript-go. Discover its core runtime libraries, utility packages, and testing tools, all detailed in go.mod with no external native libraries.

deep-dive
Apr 25, 2026
How to Exclude Specific Go Fields from TypeScript Generation in tsgo

Learn how to exclude specific Go fields from TypeScript generation using json or tsgo struct tags. Prevent unwanted fields from appearing in your generated TS declarations.

how-to-guide
Apr 25, 2026
Error Handling in TypeScript-Go Code Generation: Generation-Time Validation and Runtime Safety

Learn about error handling in typescript-go code generation. Discover generation-time validation and runtime safety strategies for robust Go code.

deep-dive
Apr 25, 2026
Can typescript-go Generate Union Types from Go? A Technical Deep Dive

Discover if typescript-go generates union types from Go. This article clarifies its function as a Go-based TypeScript compiler, not a Go to TypeScript transpiler.

deep-dive
Apr 25, 2026
Best Practices for Using typescript-go: Native TypeScript Compilation Guide

Master typescript-go with our native TypeScript compilation guide. Discover best practices for large codebases, IDE support, and embedding the compiler in Go apps. Optimize your workflow now.

best-practices
Apr 25, 2026
How to Generate TypeScript Types for Nested Go Structs in typescript-go

Effortlessly generate TypeScript types for nested Go structs using typescript-go. Run the generation script to transform ast.json into accurate TypeScript interfaces.

how-to-guide
Apr 25, 2026
Command-Line Interface Options for typescript-go: Complete Reference and Usage Guide

Explore the comprehensive command-line interface options for typescript-go. Learn to use standard compilation, watch mode, and project references with this complete guide.

api-reference
Apr 25, 2026
Does typescript-go Support Generics? A Complete Technical Analysis

Explore how typescript-go implements TypeScript generics without adding them to Go. Understand type parameters, constraints, and inference in this technical analysis.

deep-dive
Apr 25, 2026
How to Handle TypeScript Enums with typescript-go: Complete Compiler Pipeline Guide

Learn how typescript-go handles Go enums with its five-stage compiler pipeline. Understand parsing, AST generation, runtime transformation, and more for seamless integration.

tutorial
Apr 25, 2026
Performance Implications of Using TypeScript-Go: A Deep Dive into Compilation Speed and Memory Usage

Explore TypeScript-Go performance implications. Discover faster compilation and efficient memory usage thanks to Go's speed and incremental builds. Analyze telemetry for insights.

deep-dive
Apr 25, 2026
How to Contribute to the TypeScript-Go Project: A Developer's Guide

Learn how to contribute to the microsoft/typescript-go project. Clone the repo, install Go and Node.js, build the compiler, and submit PRs for TS 6.0/7.0 issues.

how-to-guide
Apr 25, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →