typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
## Steps to reproduce ```ts let fn = (s: number) => ({ s } as {}); ``` ## Behavior with `[email protected]` Emit to: ```js let fn = (s) => ({...
This is a fix for https://github.com/microsoft/typescript-go/issues/2290. It would seem that type elements can also be included in JSDoc comments, so a check was added in addition to `ast.ISJSDocKind` to allow...
Performance regression with `--incremental` between `native-preview-0.20251211.1` and `0.20251209.1`
Hi, Apologies for the absence of repro. Hopefully with the small time range it will still be helpful to pinpoint a potential regression. We noticed today that tsgo was noticeably...
Type: Bug In mone repo, services are not able to compile types from packages Extension version: 0.20251210.1 VS Code version: Code 1.107.0 (618725e67565b290ba4da6fe2d29f8fa1d4e3622, 2025-12-10T07:43:47.883Z) OS version: Windows_NT x64 10.0.19045 Modes:...
I was working on another missing thing and there were some tests missing. So, add: - `numberOfErrorsInCurrentFile` - `noErrors` - `errorExistsAtRange` - `currentLineContentIs` - `currentFileContentIs` - `errorExistsBetweenMarkers` - `errorExistsAfterMarker` -...
Fixes misported regex. Noticed in https://github.com/microsoft/typescript-go/pull/2333#discussion_r2608791712.
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress....
Fixes #2350. Not sure what the best way to surface this information is, but here's the list.
This does two things: - Uses `go test -json` to stream the output in a parseable format. - With the parsed output, read each failing test's output to see if...