typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Staging repo for development of native port of TypeScript

Results 434 typescript-go issues
Sort by recently updated
recently updated
newest added

```ts import yadda1 from "yadda" with {/*attr*/} import yadda2 from "yadda" with {attr/*attrEnd1*/: true} import yadda3 from "yadda" with {attr: /*attrValue*/} ``` Test completions at each marker location ``` [error]...

Crash

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.96.4 - OS Version: Windows 11 24H2 Steps to Reproduce: 1. Create a file with the...

Domain: Editor

## Stack trace ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x100 pc=0x102c7d250] goroutine 149880 [running]: github.com/microsoft/typescript-go/internal/checker.(*Checker).getBaseTypes(0x140a7418008, 0x140be338fc0) github.com/microsoft/typescript-go/internal/checker/checker.go:18574 +0x30 github.com/microsoft/typescript-go/internal/checker.(*Checker).isPropertyDeclaredInAncestorClass(0x140a7418008, 0x140964df238)...

Crash

DiagnosticsCollection#Add() uses InsertSort, this causes a ton of memcopys on every error. This is O(n) for every error. Instead I moved the sort to lazily happen just before each GetDiagnostics...

Since tsgo opens the opportunity to utilize typescript without Npm dependency, it would be very helpfull if tsgo.exe binary for windows would be officially distributed from this repo / relases....

From https://github.com/microsoft/TypeScript/issues/47044 For the code: ```ts class Base { foo() { } } class Sub extends Base { } ``` In TS 6.0 triggering suggestions in `Sub` and selecting `foo`...

Domain: Editor

From https://github.com/microsoft/TypeScript/issues/58930#issuecomment-3628834548 Creating issue to track figuring out what to do about the `Convert parameters to destructed object` refactoring. This refactoring had a number of complicated bugs in TS 6.0...

Domain: Editor

From https://github.com/microsoft/TypeScript/issues/15562 Looks like the `implement interface` quick fix hasn't been ported to TS-go yet. Creating issue to track this This is one we could consider using Copilot for with...

Domain: Editor

## Steps to reproduce package.json ``` { "dependencies": { "@stylexjs/babel-plugin": "0.16.2" } } ``` tsconfig.json ``` { "compilerOptions": { "skipLibCheck": true } } ``` stylex.ts ``` import { Options }...

Another issue like #1034 that persists after the fixes there. Unlike #2276, this one reproduces only when using `pnpm install`. ## Steps to reproduce package.json ``` { "type": "module", "dependencies":...