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

The following example is valid in the current compiler but not in the typescript based compiler: ```ts interface A { type: "a"; } interface B { type: "b"; } interface...

I've seen a few instances where errors are on different lines, which with suppressions causes tsgo errors on code that compiles with tsc. Maybe this is an accepted breaking change?...

The following file is ok in tsc and bad in tsgo ``` declare global { interface SymbolConstructor { readonly observable: symbol; } } type X = { [Symbol.observable](): any; };...

We have a test case for common patterns with react redux and there are 3 differences between ts-go and tsc. I've narrowed it down to the test cases that fail...

Follow up to update the README now that #791 is merged! I tried to write notes based on the TODOs in the PR but please correct me if I’m misrepresenting...

--- ### 🧾 Environment > npx tsgo -v Version 7.0.0-dev.20250526.1 ### 🧠 Summary `tsgo` correctly handles `extends A` in a namespace context (as fixed in [PR #66](https://github.com/microsoft/typescript-go/pull/66)), but still fails...

Use of import attributes triggers an error in tsgo (7.0.0-dev.20250528.1), while the latest vintage 😁 TypeScript (5.8.3) does not. `tsconfig.json` ```json { "compilerOptions": { "isolatedModules": true, "lib": ["es2023"], "module": "nodenext",...

This is basically the tsgo version of this issue: https://github.com/microsoft/TypeScript/issues/57082 The TypeScript language service seems to strip token types in imported names. In VSCode, that means the imported names are...

When trying to emit declarations for a React package, tsgo requires type annotations for React Components. Example component being used: ```tsx /* src/index.tsx */ export const MyComponent = () =>...

manually running `>TypeScript Native Preview: Restart Language Server` can sometimes cause the LSP to fail to shutdown. I'm presented with the following error dialog in VS Code when this occurs....