typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
> Got this new variant: Token cache mismatch: parent. > > ``` > panic handling request textDocument/inlayHint Token cache mismatch: parent. Expected parent of kind KindFunctionExpression, got KindFunctionExpression goroutine 664300...
## Steps to reproduce https://github.com/HolgerJeromin/reproducible-examples/tree/tsgo-2214-namespace I have a non-module (`"module": "None"`) project which creates a namespace. ```ts // file: nonmodule/nonmodule.ts namespace myNamespace { export const version = "1.0.0"; } ```...
## Steps to reproduce https://github.com/HolgerJeromin/reproducible-examples/tree/tsgo-2215-dyn-import I have a module file with exports. ```ts // file: src/main.ts export const appVersion = "1.0.0"; ``` tsconfig.json ```json { "$schema": "http://json.schemastore.org/tsconfig", "compilerOptions": { "composite":...
### Extension Version 0.20251204.1 ### VS Code Version Version: 1.105.0 (Universal) ### Operating system Version Macos 15.7.2 ### Steps to reproduce 1.when i try to restart through vs code cmd...
Absolutely silly stuff that there is still people like me running on Node 16, but ... well, my apologies. Anyway, the tsgo preview (installed globally) works on Node 16 with...
## VS Code Editor Issue **Extension Version**: 0.20251203.1 **VS Code Version**: 1.106.3 **Operating System**: Windows 11 Pro 24H2 (Build 26100.7171) ## Steps to Reproduce 1. Create two files as shown...
Type: Bug I have "typescript.preferences.importModuleSpecifier": "non-relative", "typescript.updateImportsOnFileMove.enabled": "always", in my vscode settings.json but it doesn't follow these. Extension version: 0.20251203.1 VS Code version: Code 1.106.3 (Universal) (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z) OS version:...
Note: This is a refiling of https://github.com/microsoft/TypeScript/issues/60871 in accordance to the instructions to follow after being closed in https://github.com/microsoft/TypeScript/issues/62827. ### Search Terms mixins overrides, documentation dropped ### Version & Regression...
```ts declare function makeRequest< QueryParam >( getFn: (client: { prop: number }) => QueryParam, params: NoInfer, ): void; // Hovering over `makeRequest` shows that `QueryParam` is inferred as `unknown` and...
Go to Definition on a getter that returns a callable interface (e.g., `documents.onDidChangeContent()`) was only showing the call signature, not the getter itself. ```typescript interface Event { (listener: (e: T)...