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

A new method: ```go func (s *SymbolTable) GetOrInit() SymbolTable { if *s == nil { *s = make(SymbolTable) } return *s } ``` Operates on the _address_ of a symbol...

Profiling #275 netted some simple wins; a few new AST nodes to pool. ``` │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ Parse/empty.ts/tsc-20 395.6n ± 1%...

This is a lot slower; `go tool` is faster than `go run` from 1.23, but still a lot slower than a plain binary. But, this doesn't require any global installs...

Saves some resources when the PR doesn't build (which is especially helpful to not waste our custom runners).

Moves packages around, renames `compiler` to `program`. This PR is on top of #227

I have added some coverage for reference resolver in this along with that I have added .idea dir to .gitignore as intelliJ Goland is incredibly common among Go developers. Let...

![Image](https://github.com/user-attachments/assets/484e7c5b-dec7-4724-bce6-fdfd9e894807)

tsgo heavily overuses panics, that can lead to the situations mentioned in #631: ``` The typescript-go-lsp server crashed 5 times in the last 3 minutes. The server will not be...

There are several frameworks / languages in JavaScript land that contain embedded JavaScript or TypeScript. Some languages that come to mind are: - Astro (Volar) - Ember (Volar) - HTML...