typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
This has two negative effects: - All of our current logging appears as "error" output because it went over stderr. - All LSP logging is hidden by default, which is...
These files are not meant to be edited by hand. Placing this special string at the top tells all Go-knowing tooling that these are generated and should be ignored, hides...
## Stack trace ``` [ERROR][2025-11-21 09:50:50] /usr/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc" "tsgo" "stderr" "panic handling request completionItem/resolve Some exportInfo should match the specified exportMapKey goroutine 38736 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:26 +0x5e\ngithub.com/microsoft/typescript-go/internal/lsp.(*Server).recover(0xc000238008, 0xc01ded01e0)\n\tgithub.com/microsoft/typescript-go/internal/lsp/server.go:572 +0x58\npanic({0xb46f40?, 0xee83f0?})\n\truntime/panic.go:783 +0x132\ngithub.com/microsoft/typescript-go/internal/ls.(*LanguageService).getImportCompletionAction(0xc01da9e420, {0xef1228,...
## Steps to reproduce ~I'm making every effort to make this a "minimal reproduction" but I'm still not happy with it. Sharing it nonetheless with the hope to update the...
https://github.com/microsoft/typescript-go/actions/runs/19548755476/job/55974335183?pr=2135 ``` --- FAIL: TestSubmodule (6.21s) --- FAIL: TestSubmodule/nodeModulesExportsSourceTs.ts_module=nodenext (0.09s) --- FAIL: TestSubmodule/nodeModulesExportsSourceTs.ts_module=nodenext/output (0.03s) baseline.go:206: the baseline file /mnt/vss/_work/typescript-go/typescript-go/testdata/baselines/reference/submodule/conformance/nodeModulesExportsSourceTs(module=nodenext).js has changed. (Run `hereby baseline-accept` if the new baseline is correct.)...
## Steps to reproduce In a private monorepo setup, when invoking `tsgo` against a package that depends on another package in the repo, an import fails to resolve when it...
### Extension Version 0.20251119.1 ### VS Code Version 1.106.0 ### Operating system Version Windows 11 ### Steps to reproduce 1. I have a folder with a tsconfig file in it...
Got this error while swapping tabs. ## Stack trace ``` panic handling request textDocument/inlayHint runtime error: slice bounds out of range [20991:20987] goroutine 1859256 [running]: runtime/debug.Stack() runtime/debug/stack.go:26 +0x64 github.com/microsoft/typescript-go/internal/lsp.(*Server).recover(0x1400021e008, 0x1406ca1e930)...
## Stack trace ``` 12:26:55 PM - Project 'submodules/socket-patch/tsconfig.json' is being forcibly rebuilt 12:26:55 PM - Building project 'submodules/socket-patch/tsconfig.json'... fatal error: concurrent map read and map write goroutine 60863 [running]:...
## Steps to reproduce npx tsgo the following.ts file: ```typescript export type NumericProperty = "n1" | "n2" | "n3" | "n4" | "n5" | "n6" | "n7" | "n8" |...