typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
> [!IMPORTANT] > Until [libsyncrpc](https://github.com/microsoft/libsyncrpc) is set up to publish to npm, this PR takes a git dependency on it, which will build the binary from source during `npm install`....
This wires up source map emit to the emitter and enables source map baselines. After some fixes, the few source map diffs seem to be mostly due to missing transforms....
Fixes #765 Fixes #767 Includes #779 until that's merged. This implements import helper and JSX factory import node synthesis and resolution. Since the AST node is ummutable, we cannot modify...
fixes #778 cc @iisaduan @jakebailey
``` ❯ time tsgo tsc -noEmit -w -p src build triggered due to config change build starting at 2025-04-08 16:46:43.150158 -0700 PDT m=+0.937383709 build finished in 5.714491375s build triggered due...
I have a tsconfig.json approximately like: ```json "compilerOptions": { "module": "es2022", "jsx": "preserve", "jsxImportSource": "external/solid", "baseUrl": ".", "paths": { "external/*": ["./external/*"] }, "target": "es2022", ``` ``` error TS2875: This JSX...
Apologies if this is considered a duplicate of https://github.com/microsoft/typescript-go/issues/765 -- but I believe it is slightly different due to a lack of `compilerOptions.jsx` support in typescript-go (vs `compilerOptions.jsxImportSource`)... The company...
I'm currently modifying this to work on JSX stuff; sending this refactor in early. I'm going to add more stuff to the file loader for JSX, so converting its return...
This PR adds basic CommonJS imports and exports. It's aiming to cover 80% of usage--a subset of TS semantics in most cases. CommonJS imports are implemented basically the same way...
- Added lsp notification message type, as the todo comment stated the difference is if an ID is provided or not. - A few of the messages that were being...